MyDAC

TMyCommand Members

TMyCommand class overview.

Properties

Name Description

ChangeCursor (inherited from TCustomDASQL)

Enables or disables changing screen cursor when executing commands in the NonBlocking mode.

CommandTimeout

Used to specify the amount of time to attempt to execute a command.

Connection

Used to specify a connection object that will be used to connect to a data store.

Debug (inherited from TCustomDASQL)

Used to display executing statement, all its parameters' values, and the type of parameters.

FinalSQL (inherited from TCustomDASQL)

Used to return a SQL statement with expanded macros.

InsertId

Returns the ID generated for an AUTO_INCREMENT column by the previous query.

MacroCount (inherited from TCustomDASQL)

Used to get the number of macros associated with the Macros property.

Macros (inherited from TCustomDASQL)

Makes it possible to change SQL queries easily.

ParamCheck (inherited from TCustomDASQL)

Used to specify whether parameters for the Params property are implicitly generated when the SQL property is being changed.

ParamCount (inherited from TCustomDASQL)

Indicates the number of parameters in the Params property.

Params (inherited from TCustomDASQL)

Used to contain parameters for a SQL statement.

ParamValues (inherited from TCustomDASQL)

Used to get or set the values of individual field parameters that are identified by name.

Prepared (inherited from TCustomDASQL)

Used to indicate whether a query is prepared for execution.

RowsAffected (inherited from TCustomDASQL)

Used to indicate the number of rows which were inserted, updated, or deleted during the last query operation.

SQL (inherited from TCustomDASQL)

Used to provide a SQL statement that a TCustomDASQL component executes when the Execute method is called.

Methods

Name Description

Execute (inherited from TCustomDASQL)

Overloaded. Executes a SQL statement on the server.

Executing (inherited from TCustomDASQL)

Checks whether TCustomDASQL still executes a SQL statement.

FindMacro (inherited from TCustomDASQL)

Searches for a macro with the specified name.

FindParam (inherited from TCustomDASQL)

Finds a parameter with the specified name.

MacroByName (inherited from TCustomDASQL)

Finds a Macro with the name passed in Name.

ParamByName (inherited from TCustomDASQL)

Finds a parameter with the specified name.

Prepare (inherited from TCustomDASQL)

Allocates, opens, and parses cursor for a query.

UnPrepare (inherited from TCustomDASQL)

Frees the resources allocated for a previously prepared query on the server and client sides.

WaitExecuting (inherited from TCustomDASQL)

Waits until TCustomDASQL executes a SQL statement.

Events

Name Description

AfterExecute (inherited from TCustomDASQL)

Occurs after a SQL statement has been executed.
© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback