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
Example