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

Recordset error

Status
Not open for further replies.

maksim

MIS
Jan 15, 2003
3
US
I have a question about recordset error. If somebody can reference a code that uses recordset, it would be helpful.

strSQL = "SELECT * FROM Proffessor"
Set dbsProject = CurrentDb
Set rstProf = dbsProject.OpenRecordset(strSQL) this line gives type mismatch error.
 
This might help!

While in the Visual Basic Editor, from the menu, select Tools>> References. If you have both Microsoft ActiveX Data Objects and DAO object library checked, make sure DAO object library comes before Microsoft ActiveX Data Objects.

If this is the case uncheck Microsoft ActiveX Data Objects then check it again so that it now appears in the list after DAO object library. This a known problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top