>

QueryDefs Collection

Description

A QueryDefs collection contains all QueryDef objects in a Database object.

Remarks

The QueryDef object corresponds to a stored query definition in a database. When you create a QueryDef object, you can add it to the QueryDefs collection using the Append method so it will be saved when you close the Database object.

To remove a QueryDef object from the collection, use the Delete method.

Properties

Count Property.

Methods

Append Method, Delete Method, Refresh Method.

See Also

Appendix, "Data Access Object Hierarchy."

Specifics (Microsoft Access)

See the QueryDef object specifics (Microsoft Access).

Example

See the QueryDef object example.

Example (Microsoft Access)

See the QueryDef object example (Microsoft Access).