I'm converting several older databases from Access 97 to 2003 and then to 2007. The database I'm working on now has several lines of code referencing "QueryDef" which is causing compile errors. Particularly the "OpenQueryDef" line which I belive to be obsolete. Does anyone have any suggestions?
Dim qudef As QueryDef
Set qudef = dbABC.OpenQueryDef("Pur-PO-Log-Query", SQLPOLogForm())