QueryDef Members (DAO)
Last modified: March 09, 2015
Applies to: Access 2013 | Office 2013
A QueryDef object is a stored definition of a query in a Microsoft Access database engine database.
|
Name |
Description |
||
|---|---|---|---|
|
Cancels execution of a pending asynchronous method call (ODBCDirect workspaces only). |
|||
|
Closes an open QueryDef. |
|||
|
Creates a new user-defined Property object (Microsoft Access workspaces only). |
|||
|
Executes an SQL statement on the specified object. |
|||
|
Creates a new Recordset object and appends it to the Recordsets collection. |
|
Name |
Description |
||
|---|---|---|---|
|
Sets or returns the number of records retrieved from an ODBC data source that will be cached locally. Read/write Long. |
|||
|
Sets or returns a value that provides information about the source of database used in a pass-through query. Read-only String. |
|||
|
Returns the date and time that an object was created (Microsoft Access workspaces only). Read-only Variant. |
|||
|
Returns a Fields collection that represents all stored Field objects for the specified object. Read-only. |
|||
|
Returns the date and time of the most recent change made to an object. Read-only Variant. |
|||
|
Sets or returns the maximum number of records to return from a query against an ODBC data source. |
|||
|
Returns or sets the name of the specified object. Read/write String. |
|||
|
Indicates the number of seconds to wait before a timeout error occurs when a QueryDef is executed on an ODBC database. |
|||
|
Returns a Parameters collection that contains all of the Parameter objects of the specified QueryDef. Read-only. |
|||
|
Sets or returns a value that indicates whether the query should be prepared on the server as a temporary stored procedure, using the ODBC SQLPrepare API function, prior to execution, or just executed using the ODBC SQLExecDirect API function (ODBCDirect workspaces only). Read/Write QueryDefStateEnum. |
|||
|
Returns the Properties collection of the specified object. Read-only. |
|||
|
Returns the number of records affected by the most recently invoked Execute method. |
|||
|
Sets or returns a value that indicates whether an SQL pass-through query to an external database returns records (Microsoft Access workspaces only). |
|||
|
Sets or returns the SQL statement that defines the query executed by a QueryDef object. |
|||
|
Indicates whether or not an asynchronous operation (that is, a method called with the dbRunAsync option) has finished executing (ODBCDirect workspaces only). |
|||
|
Sets or returns a value that indicates the operational type or data type of an object. Read-onlyInteger. |
|||
|
Returns a value that indicates whether you can change a DAO object. Read-only Boolean. |
Note