CreateQueryDef Method Example (DAO)
CreateQueryDef Method Example (VC++)
CreateQueryDef Method, OpenRecordset Method, and SQL Property Example (Client/Server) [DAO/Microsoft Jet]