Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.57 CommandType Property

Description:

Indicates the type of text specified in the CommandText property.

Used in controls:

ADODataSource

Values (with constants):

1 - adCmdText:(POW-ADODB-ADCMDTEXT)
SQL statement.

2 - adCmdTable:(POW-ADODB-ADCMDTABLE)
Table name returned from SQL query, in which columns are created.

4 - adCmdStoredProc:(POW-ADODB-ADCMDSTOREDPROC)
Stored procedure.

8 - adCmdUnknown:(POW-ADODB-ADCMDUNKNOWN)
Distinguish automatically, when the command type is unknown.

Consult the ADO documentation for details about command types.

Default value:

8 - adCmdUnknown:(POW-ADODB-ADCMDUNKNOWN)

COBOL PICTURE:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Set and reference.

Backward compatibility attributes:

None.