Hi,
I have following code in a access form,
Set ws = DBEngine.Workspaces(0)
Set db = OpenDatabase(CurrentDb.Name)
Set mainrst = db.OpenRecordset("select * from members"
But my program does not seem to recognize the mainrst's properties. I think I need to include some reference libraries. I do not know which.
I am using Access-2000 and have following libraries already included under "Tools->References"
Visual Basic For Applications
Microsoft Access 9.0 Object Library
Microsoft Office 9.0 Object Library
Microsoft DAO 3.6 Object library
Microsoft Forms 2.0 Object Library
OLE Automation
Microdoft Visual Basic for Entensibility 5.3
in that order. Can someone suggest me if I need to add some more libraries or there is some other way?
Thanks in advance.
Shafi.
I have following code in a access form,
Set ws = DBEngine.Workspaces(0)
Set db = OpenDatabase(CurrentDb.Name)
Set mainrst = db.OpenRecordset("select * from members"
But my program does not seem to recognize the mainrst's properties. I think I need to include some reference libraries. I do not know which.
I am using Access-2000 and have following libraries already included under "Tools->References"
Visual Basic For Applications
Microsoft Access 9.0 Object Library
Microsoft Office 9.0 Object Library
Microsoft DAO 3.6 Object library
Microsoft Forms 2.0 Object Library
OLE Automation
Microdoft Visual Basic for Entensibility 5.3
in that order. Can someone suggest me if I need to add some more libraries or there is some other way?
Thanks in advance.
Shafi.