Purpose
The QueryDef object represents a query in the database and maintains information about the query's properties
Accesses/Assign
CacheSize | The number of records that will be cached locally |
connect | Describes the ODBC data source to use for a pass-through query |
Fields | Collection of fields in this query |
LastUpdated | Date and time of the most recent change to the querydef |
MaxRecords | The maximum number of records that will be returned |
Name | The name of this object |
ODBCTimeout | Seconds to wait when running a query on an ODBC database |
Parameters_ | (Default) Collection of parameters available for this query |
Prepare | Should the ODBC query be prepared |
ReturnsRecords | Determines whether a SQL pass-through query returns records |
SQL | SQL statement that defines the query |
Type | Indicates the data type of the object |
Updatable | Indicates whether the query definition can be changed |
Methods
Close | Close the open querydef |
Execute | Execute the Querydef (must be non-row returning) |
Inherits from
See Also