Applies To SQL-Specific query.
Description
You can use the ReturnsRecords property in an SQL pass-through query to specify whether the query returns records. For example, if your pass-through query is SELECT * FROM EMPLOYEES, you can set the ReturnsRecords property to Yes to display all employee records in the query's datasheet.
Note The ReturnsRecords property applies only to pass-through queries.Setting
The ReturnsRecords property uses the following settings.
Setting | Description | Visual Basic |
Yes | (Default) The query returns records (as a select query does). | True ( ) |
No | The query doesn't return records (as an action query does). | False (0) |
See Also LogMessages property, ODBCTimeout property, ODBCTimeout property ("DAO Language Reference"), ReturnsRecords property ("DAO Language Reference"), UniqueRecords property, UniqueValues property.