Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

VBA Memory is not clearing when change company

Posted on by 1,771

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

  • Suggested answer
    Nanook Software Profile Picture
    Nanook Software 587 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?

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans