web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Trim function error

(0) ShareShare
ReportReport
Posted on by 1,235

Hi,

We are upgrading the client from SL 2015 CU2 to SL 2018 CU4. We are setting up 2 environment, 1 for development purposes which installed with SDK and legacy control, another is for application testing purpose which do not hav SDK and legacy control installed.

The database was upgraded successfully. However when we open the screen in the testing environment, there is error said Compile error, can't find project or library for Trim function. The same error does not happen in development environment when open the same screen.

Does anyone encounter this issue before?

Thanks.

Regards,
Teh

I have the same question (0)
  • Venedict Profile Picture
    1,235 on at
    RE: Trim function error

    Hi Mark,

    Thanks for your reply. Will try it out.

    Regards,
    Teh

  • Verified answer
    Mark E Profile Picture
    6,451 on at
    RE: Trim function error

    Go through the VBA code in the screen and replace any Trim (and/or Trim$) functions with Strings.Trim

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,206

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 847 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 596 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans