hello,
This problem is driving me crazy!
I am getting an invalid argument error message on:
Set qdf = db.CreateQueryDef("hello", "select * from cctv_sites")
Yet it runs okay on a different computer accessing the same backend data.
Any ideas... thanks, Al
This problem is driving me crazy!
Code:
Dim db As dao.Database
Dim qdf As dao.QueryDef
Set db = CurrentDb
Set qdf = db.CreateQueryDef("hello", "select * from cctv_sites")
DoCmd.OutputTo acOutputQuery, "hello", acFormatHTML
I am getting an invalid argument error message on:
Set qdf = db.CreateQueryDef("hello", "select * from cctv_sites")
Yet it runs okay on a different computer accessing the same backend data.
Any ideas... thanks, Al