ADSI_Parameters

Use the ADSI_Parameters state table to build a parameter string, containing up to 10 parameters, ready for passing to any of the supplied ADSI state tables that require a string of parameters (for example, ADSI_FDM_DATA).

This state table concatenates the parameters, and separates them by 001 (X'01') delimiters.

ASCII syntax

InvokeStateTable ("DIRECT", ADSI_Parameters, build_list, result,
parm_1 ... parm_10);

Entry point

build_list
You must specify the string build_list.

Description

result
Specify the name of a variable that will store the parameter string that the state table builds.
parm_1 ... parm_10
Specify the 10 parameters.

You must specify all 10 parameters, so use a null character if you have no other value to supply.

If you need to specify more than 10 parameters, you can use multiple invocations of the ADSI_Parameters state table. You could also use the ADSI_33Paramtrs state table (see ADSI_33Paramtrs).

Results

The InvokeStateTable action terminates with a result that indicates whether or not the operation was successful. If it was not successful, the result shows the reason for the failure:

0
Success
9
Failure

Example

This example is taken from the ADSI_Banking state table. It builds a parameter string containing four parameters.

InvokeStateTable("DIRECT", ADSI_Parameters, build_list,
              parms,
              "**",
              "0",
              "1",
              "Welcome Sir",
              "",
              "",
              "",
              "",
              "",
              "")

Related state tables