Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to add a hidden field to VBA

(0) ShareShare
ReportReport
Posted on by 110

I would like to add this hidden field named "Distribution Sequence Number"(In properties, i save set the visible to true) .

hidden.jpg

I was trying to  "Add fields to visual basic".

hidden-2.jpg

because i want it to appear in Visual Basic as an object so i can use it when i codi.

hidden-3.jpg

*This post is locked for comments

  • Verified answer
    Christclark Profile Picture
    110 on at
    RE: How to add a hidden field to VBA

    I was able to include. it is very tricky. Just have to place it somewhere I know I wil lbe able to click it. then Poof!! it getis included in VBA :)

  • Christclark Profile Picture
    110 on at
    RE: How to add a hidden field to VBA

    Kindly explain further on how you change it to visual?
    I am going to explain the steps and scenario one more time...
    IN PM_Transaction_Entry_Distribution, there is a distribution scroll (See picture below, i have rectangled in red).

    h3.jpg

    after double clicking it this will appear (See picture below, i have rectangled in red). 

    h2.jpg

    Distribution Sequence is a global field and a hidden field.  (See picture below, i have rectangled in red). 

    h4.jpg

    I have  checked  "show field names" and  "show invisible fields" (See picture below, i have rectangled in red). 

    h3.jpg

    I am trying to  "Add fields to visual basic" but it is not showing.

    hidden-2.jpg

    because i want it to appear in Visual Basic as an object so i can use it when i code.

    hidden-3.jpg

    So how will i able to add it as an object in visual basic???

  • L Vail Profile Picture
    65,271 on at
    RE: How to add a hidden field to VBA

    I normally just change it to visual and place it on the window, then I can mark it to be included in VBA. Once I've included it, I mark it back to invisible and move it off of the window.

    Leslie

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans