GooGoocluster
Technical User
I was able to use the following code in a regular mdb file but I took same code unchanged into my .adp file and I get runtime error 91 "object or with block not found" from what I recall. Does any one know the code that will work for adp?
Thanks
Thanks
Code:
strSQL = "SELECT ImportTable.* FROM ImportTable ORDER BY ImportTable.BARCODE"
Set db = CurrentDb
Set qDef = db.CreateQueryDef("qryTmpExport", strSQL)