We need to add a custom button to the Voucher Entry and Document Maintenance screens which is easy enough.
However, we also need to condition enabling the button based on the results of a variable. That is, we want to set a variable to "on" when a particular user originates a document, and need to update the custom button so it is enabled. is the variable is "on".
My internal VBA programmer is having trouble coding this, and was looking for sample VBA code.
Does anyone have similar working code they would be willing to share?
Best regards,
------------------------------
Gail Jones-Nemeth
Financial Systems Analyst
Creative Associates Int'l
Chevy Chase MD
------------------------------