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 :
Microsoft Dynamics GP (Archived)

VBA Memory is not clearing when change company

(0) ShareShare
ReportReport
Posted on by 1,821

Hi,

I have customization to print company details based on the company selected.  I have used Company ID variable to get and check the current company but the the company ID is not reseting when change company

Please inform is there any way to we can reset this calculated variable or how to solve this issue or how to check current company

iban.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: VBA Memory is not clearing when change company

    You have set Company ID with value 12,  which is a constant how could it will change itself?

  • Suggested answer
    Nanook Software Profile Picture
    2 on at
    RE: VBA Memory is not clearing when change company

    Agree, you have input a Constant for the variable to compare against. This is suctioning as expected.

    I see you are looking to pull banking info in the report, why not just call the banking field from the bank info tables for that company?

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans