Zoomed Image

AMSX Scripting Language - Command : SqlStatement.SetFields

Summary

Replace the SELECT field list of a SQL statement variable

Description

Replaces all fields in the SELECT clause with the fields supplied as arguments. Each non-empty argument becomes one selected field. Call ClearFieldList first if you want to guarantee a clean replacement.

Parameters

ParameterDescription
cmdSQL statement variable name
Argument 0first field name
Argument 1second field name
Argument 2third field name, and so on for additional fields

Syntax


SqlStatement.SetFields "SQL statement variable name", "first field name", "second field name", "third field name, and so on for additional fields"

Return to the AMSX Command Reference