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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error with "dbOpenSnapshot"

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
HI!

I'm a begginer, and this is my first problem:
I had a Access 97 database, with a Form and a dropdown list which is populated with entries dynamically. Once you click on each opciont it should call up a list of the query result.
But now in 2000 version it doen't work.

The error is on:

Set rsThisRS = dbThisDB.OpenRecordset("", dbOpenSnapshot)

Can you help me?

Thank you very much.

 
The name parameter in the OpenRecordset method is an empty string (""). Shouldn't that be a table name or query statement?

It appears you are using DAO rather than ADO. You may need to activate the DAO library. Check the answer given in another thread (thread181-4495) about activating the DAO library. Terry

The reason why worry kills more people than work is that more people worry than work. - Robert Frost
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top