Navigation:  DAO Object Classes > DaoConnection Class >

DaoConnection:CreateQueryDef() Method

Previous pageReturn to chapter overviewNext page

Purpose

Creates a new QueryDef object

 

Parameters

cName(Optional) name of the new Querydef                        Default = Empty string
cSql(Optional) a string that is an SQL statement defining the QueryDef. If you omit this argument, you can define the bQueryDef by setting its SQL property before or after you append it to a collection.

 Default = Empty String

Returns

A Querydef object

 

Class

DaoConnection        

 

 

Example

Connection sample