Using

Purpose With Using you can assign a value to an InputScript parameter. Both a constant value and the name of a screen field are possible.  In the called InputScript you need a  Parameter command with the name specified in Using.
Example Pushbutton (toolbar) “Create” “CRE1″ Process=CreateOneStep.txt”
  
Using
Currency = “USD”
   Using Amount = F[Amount2]

On “Enter”  Process=CreateOneStep.txt”
  
Using
Currency = “USD”
   Using Amount = F[Amount2]

On “/11″ Fcode=“/0" Process=CreateOneStep.txt”
  
Using
Currency = “USD”
   Using Amount = F[Amount2]

Here Currency gets the value “USD”, Amount gets the value of the field F[Amount2].

Format Using pname = “Value”

Using pname = F[fieldname]

Tips
& Tricks
  • Please note the difference:

    A: Using CC = “&F[Company Code]

    B: Using CC = F[Company Code]

    C: Using CC = “Company Code”

    D: Using CC = &F[Company Code]

    Assume that there is a field F[Company Code] on the screen with the value “0001″, and that the user entered the value “5800″. The parameter CC then has the following values:

    A: CC = “0001″

    B: CC = “5800″

    C: CC = “Company Code”

    D: CC = “0001″ (same meaning as variant A)

    Normally only variant B makes sense.

Using