hexagon logo

Change tracefield from Form Editor or VBS Mini-Editor

I use a form at the beginning of my program where the operator can input a new work order number. I am trying to get it to set a tracefield value so the Excel template can place the data into the proper folder. Is there any way to do this, possibly with the VBS mini-editor. 

Parents
  • You can pass a variable between PC-DMIS and your form and then populate your tracefield with the variable's value.  Here's some example syntax for a form containing an editbox (EDITBOX1) so the operator can enter the tracefield value...

                ASSIGN/V1=""
    CS3        =FORM/FILENAME= C:\USERS\PUBLIC\DOCUMENTS\HEXAGON\PC-DMIS\EXAMPLES\TEST_FORM.FORM
                PARAM/EDITBOX1.TEXT=V1
                PARAM/=
                ENDFORM/
                TRACEFIELD/DISPLAY=NO,REPORT=YES,DISPLAY MESSAGE=New Trace ; New Trace : V1

Reply
  • You can pass a variable between PC-DMIS and your form and then populate your tracefield with the variable's value.  Here's some example syntax for a form containing an editbox (EDITBOX1) so the operator can enter the tracefield value...

                ASSIGN/V1=""
    CS3        =FORM/FILENAME= C:\USERS\PUBLIC\DOCUMENTS\HEXAGON\PC-DMIS\EXAMPLES\TEST_FORM.FORM
                PARAM/EDITBOX1.TEXT=V1
                PARAM/=
                ENDFORM/
                TRACEFIELD/DISPLAY=NO,REPORT=YES,DISPLAY MESSAGE=New Trace ; New Trace : V1

Children
No Data