Forms

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forms

    I was recently working on creating a form that i could input thru droplists and radiobuttons the job#,serial#,customer name, do you want a manual alignment, etc.. all is going well with the job#serial# but when droplists are made they create numeric values and i cannot format my code in a way to reverse it back to the customer name,machine name,operator name,etc... is their a way around this? can i create assignments that take those values and convert them back to the alpha names? thanks. form pic.JPG

  • #2
    I THINK! Assign a variable for the customer name (e.g CUST). Then call the form command. There are parameters after it. In the parameter, try setting whatever the form item is called (e.g. combobox1) as COMBOBOX1.TEXT (or possibly .INPUT) =CUST. The = sign is already there so work around it. Hopefully this helps.

    Code:
    ASSIGN/CUST=0
    CS1        =FORM/FILENAME= DEFAULT.FORM
                PARAM/COMBOBOX1.TEXT=CUST
                PARAM/=
                ENDFORM/
    Last edited by WM321; 12-24-2019, 03:32 PM.

    Comment


    • #3
      Thank you I will try this when I get back from Christmas break! Merry Christmas

      Comment


      • #4
        The secret for combo boxes is to use the .TEXTALUE property.

        i.e. TXTCUST.TEXTVALUE
        Automettech - Automated Metrology Technology

        Comment

        Related Topics

        Collapse

        Working...
        X