Query Object (ActiveX/CAO)

A stored database query.

VBA class name: Query

Create using: Queries.Add

Access via: Queries.Item

To create a query, use the Add method of the Queries collection. To edit or examine a query, use the following properties:

Methods Properties Events

None

Catalog

DataSource

DbConnect

Document

Name

Schema

Table

Text

None