Change default value of a Check Box
-
Change default value of a Check Box
Posted by Mary Mallazzo on February 21, 2017 at 8:45 am-
Hello
Users would like the default value of the Check Boxes in the window POP_Document_Inquiry to be “checked” instead of “unchecked”. Does anyone know how to accomplish this?Thank you
——————————
Mary Mallazzo
Fromkin Brothers
Edison NJ
—————————— -
Thaddeus Suter
MemberFebruary 22, 2017 at 8:18 AM
Yes, those “include” boxes can be easily checked on opening by adding VBA to the form. They must be checked in correct order as if the user did it.
Your VAR should be able to add the VBA to the form and export a customizations package for you to import and use.——————————
Thaddeus Suter
Retus, Inc
Helotes TX
——————————
——————————————- -
Leslie Vail
MemberFebruary 27, 2017 at 7:57 PM
Hi Thaddeus,
I went ahead and created the package file that will add VBA code to the POP Document Inquiry Work and History Inquiry windows. I’ve attached the package file that includes both forms.
Kind regards,
Leslie——————————
Leslie Vail
Accounting Systems Consulting, Inc.
Dallas TX
——————————
——————————————- -
Leslie
Thank you! I will let you know how I make out with this.——————————
Mary Mallazzo
Fromkin Brothers
Edison NJ
——————————
——————————————- -
Hi Mary
FYI: Visual Basic for Applications does not work with the web client. However using GP Power Tools it is possible to achieve the same result with a Dexterity based trigger.
Let me know if you need a web client compatible version and I can create the GPPT Package for the same customisation.
Regards
David
GPPT Portal: http://WinthropDC.com/GPPT——————————
David Musgrave MVP, GPUG All-StarManaging Director
Winthrop Development ConsultantsPerth, Western Australia
http://www.winthropdc.com
——————————
——————————————- -
Hi Leslie
I imported the package provided…unfortunately check boxes are not checked:——————————
Mary Mallazzo
Fromkin Brothers
Edison NJ
——————————
——————————————- -
David Flowers
MemberMarch 21, 2017 at 9:29 AM
Mary,
Take a look at the heading on that screenshot. The dot in front – .Purchase Order Processing indicates this is a modified window. I’m assuming that Leslie’s package was vba for an unmodified window. If the VBA was running, there would be a dot after Purchase Order Processing heading.Open up vba ( Alt-F11) from that screen, find the vba code under Microsoft Dynamics GP Objects > PurchaseOrderProcessingDocu(Window) and in the Properties > EventMode change the mode to “1-emModifiedOnly”.
After you do that there will be a dot before AND after the window header indicating that the window is both Modified and VBA’ed.
.Purchase Order Processing Document Inquiry.——————————
David Flowers
System Admin -GP and Salesforce Support
RMG Enterprise Solutions
Addison TX
——————————
——————————————- -
David
Thank you…..Alt<F11> I receive msg that Window has already been added to VB…. so if I select Visual Basic Editor while on the POP window and the below comes up ….would have expected the PO window project…——————————
Mary Mallazzo
Fromkin Brothers
Edison NJ
——————————
——————————————- -
Hi Mary
It probably just opened to the last bit of code or window you were working on.
David
——————————
David Musgrave MVP, GPUG All-StarManaging Director
Winthrop Development ConsultantsPerth, Western Australia
http://www.winthropdc.com
——————————
——————————————- -
Finally got back around to this…..works great!
Thank you
——————————
Mary Mallazzo
Fromkin Brothers
Edison NJ
——————————
——————————————- -
Leslie Vail
MemberApril 5, 2017 at 1:52 AM
Thank you for reporting back, I feel redeemed <grin>.
Leslie——————————
Leslie Vail
Accounting Systems Consulting, Inc.
Dallas TX
——————————
——————————————-
Mary Mallazzo replied 6 years, 7 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.