AsherB
4Penny.net
Points: 7683

11/11/2014 11:56:28 AM

Defaulting a field in Dynamics GP using VBA

* This article, and all our great VBA documentation, Is available on the VBA/Modifier menu

If you have any interest in VBA and Dynamics GP, this is worth reading. It's a technique that I have not seen any documentation on.

The task is to default the Territory ID field in the Customer Maintenance form in Dynamics GP.

Normally, we'd trap the CHANGED event on the CUSTNMBR field and populate the Territory ID field, but the CHANGED event occurs before the form is populated so the default value gets wiped out when the form populates.

 

4Penny.net
Version: Unknown or N/A
Section: VBA
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3