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!

Open Recordset

Status
Not open for further replies.

VTbigwillie

Programmer
Jul 23, 2002
9
US
I am currently working with a new Access 2000 format database. In the previous database I worked on the following line of code worked perfectedly:
Set rs = CurrentDb.OpenRecordset("tblShopper", dbOpenDynaset)

In my new database, this line is not working. Is there an option that needs to be turned for this to work? I have no idea what the problem is.

Thanks in advance,
Will
 
Set a reference to the DAO library. Access 2000 uses ADO data objects (library) by default. Also, good to set explicit references to the data objects to avoid confusion since some objects have the same name in both libraries.

Dim rs as DAO.Recordset
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top