The ExecForStatus method

Use the ExecForStatus method of the Query object for queries when the application does not need any data returned from the query (for example, DDL statements such as CREATE TABLE, DROP TABLE, CREATE VIEW, or DML statements such as UPDATE).

The ExecForStatus method returns FALSE if a server error occurred.