TABSQuery.ExecSQL
TABSQuery
Top 


Executes the SQL statement(s) for the query.

procedure ExecSQL;

Description
Call ExecSQL to execute the SQL statement(s) currently assigned to the SQL property. Use ExecSQL to execute queries that do not return a cursor to data (such as INSERT, UPDATE, DELETE, and CREATE TABLE).

Note:   For SELECT statements, call Open instead of ExecSQL.