OpenQueryDef Method (Professional Edition Only)

See AlsolanOpenQueryDefSee                 ExamplelanOpenQueryDefX>Low

Description

Opens a specified QueryDef19G3DMW for editing.

Syntax

Set querydef = database.OpenQueryDef( name )

Remarks

The OpenQueryDef method uses these parts:

Part                 Description

 

querydef           Object variableZ3R9Q5 of type QueryDef.

database          Object variable identifying an open Database.

name                String expression1330R89 for the name of a QueryDef that exists in database.

 

If the QueryDef contains parameters, you must set the parameters before using the QueryDef.  You set the parameters using the following syntax:

querydef ! parameter = parametervalue

You can use a QueryDef as you would a Table in the CreateDynaset and CreateSnapshot methods.