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
    • Mary Mallazzo

      Member

      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

      Member

      February 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

      Member

      February 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
      ——————————
      ——————————————-

    • Mary Mallazzo

      Member

      March 17, 2017 at 12:10 PM

      Leslie
      Thank you!  I will let you know how I make out with this.

      ——————————
      Mary Mallazzo
      Fromkin Brothers
      Edison NJ
      ——————————
      ——————————————-

    • David Musgrave

      Member

      March 20, 2017 at 1:57 AM

      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-Star

      Managing Director
      Winthrop Development Consultants

      Perth, Western Australia

      http://www.winthropdc.com
      ——————————
      ——————————————-

    • Mary Mallazzo

      Member

      March 21, 2017 at 8:35 AM

      Hi Leslie
      I imported the package provided…unfortunately check boxes are not checked:

      ——————————
      Mary Mallazzo
      Fromkin Brothers
      Edison NJ
      ——————————
      ——————————————-

    • David Flowers

      Member

      March 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
      ——————————
      ——————————————-

    • Mary Mallazzo

      Member

      March 21, 2017 at 11:27 AM

      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
      ——————————
      ——————————————-

    • David Musgrave

      Member

      March 22, 2017 at 2:29 AM

      Hi Mary

      It probably just opened to the last bit of code or window you were working on.

      David

      ——————————
      David Musgrave MVP, GPUG All-Star

      Managing Director
      Winthrop Development Consultants

      Perth, Western Australia

      http://www.winthropdc.com
      ——————————
      ——————————————-

    • Mary Mallazzo

      Member

      April 3, 2017 at 9:33 AM

      Finally got back around to this…..works great!

      Thank you

      ——————————
      Mary Mallazzo
      Fromkin Brothers
      Edison NJ
      ——————————
      ——————————————-

    • Leslie Vail

      Member

      April 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 7 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Change default value of a Check Box’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for people  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!