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

Type Mismatch? 1

Status
Not open for further replies.

Kib

Programmer
May 17, 2001
58
0
0
US
what am I doing wrong here?
Private Sub Form_Load()
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("myrates")
End Sub
 
What version of Access are you using? if it is A2K, then you have to specify dao.datbase and dao.recordset, I think. Kathryn


 
Thanks!
Did the trick
 
Access may be asking what type of recordset you are trying to open, for instance, dbOpenTable. Not sure, just a thought.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top