VBA trick to show and get access to a hidden field

There are several fields that are hidden on Dynamics forms that are quite useful. Sometimes there is a LOAD field or a SAVERECORD field that you can trap changing and save yourself some trouble. 

Today, we want to show the SOPTYPE field on the SOP TRANSACTION INQUIRY form so that we can do a database requests. 

Enjoy!

Open the form in modifier, and expand the form window

Click on LAYOUT > SHOW INVISIBLE FIELDS

 

Search for SOPTYPE, drag it to a visible part of the form. 

Change its visibility to TRUE, and it will change color. 

Open the form in Dynamics, add the field to VBA

 

and you'll have a reference to it in VBA. Now, reverse the process to hide it again. 


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences