Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Requery Pass-Through Query

Status
Not open for further replies.

rookery

Programmer
Apr 4, 2002
384
GB
I've opened a recordset based on a pass through query which pulls all the records back from a SQL table

eg.

Set rs1 = ThisDB.OpenRecordset("passthroughquery1", dbOpenSnapshot, dbSeeChanges)

The problem is when I try and requery the recordset later on I get a:

"Operation is not supported for this type of object error".

Has anyone got any suggestions?
 
I don't think you can requery a dbOpenSnapshot recordset.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks anyway but not true. Tried changing it to dbOpenDynaset and it still didnt execute.

Also it works quite happily when I use the name of the table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top