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!

Type Database and Access20000

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I used this in Access97, and I want to use the same function in Access 2000. This isn't working because 2000 does not know the "Database" type. What type is used within 2000.

Dim rst As Recordset
Dim db As database
Set db = CurrentDb
Set rst = db.OpenRecordset("Klanten", dbOpenDynaset)
With rst
.AddNew
![KLnaam] = Me.KLnaam
.Update
End With

Thanks
Jordi
 
Hi there,

The problem you have is that you probably don't have a reference to a DAO 3.6 library in your db.

just pick Tools - References - and check Microsoft DA0 3.6 object library

this should do the trick

the kid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top