commandType

Specifies the type of command used by a data query.

Syntax

Reference_Syntax.commandType = "unknown | text | table | storedProc"

Values

Type

Values

String

  • unknown (default)

  • text

  • table

  • storedProc

An explicit SQL query string that is not saved under a name in the database.

  • table

  • storedProc

A table stored in the database.

  • storedProc

A query, such as a SQL query, created to query one or more tables in the database and then saved as a named query within the database.

Applies to

Model

Object

sourceSet Model

query

Version

XFA 2.1

Examples

In these examples, Titles represents the data connection name.

JavaScript

xfa.sourceSet.Titles.nodes.item(1).query.setAttribute("text", "commandType"); 

FormCalc

xfa.sourceSet.Titles.nodes.item(1).query.setAttribute("text", "commandType")

// Ethnio survey code removed