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

"Method or Data Member Not Found" and it's highlighting ".Edit&qu

Status
Not open for further replies.

Sillygirl

Programmer
Joined
May 3, 2002
Messages
80
Location
US
I have an old VB6 program that is being updated to use ACCESS 2007 database. I'm getting this error "Method or Data Member Not Found" and it's highlighting ".Edit" and have no idea what is causing it. Could it be the references?

If timecheck!Runweek <> Runweek Then
timecheck.Edit ****<----this is the statement******
timecheck!Runweek = Runweek
timecheck.Update
Set tblRunweek = dbase2.OpenRecordset("RunWeek")
While Not tblRunweek.EOF
tblRunweek.Delete
tblRunweek.MoveNext
Wend
tblRunweek.Close
End If
Thanks in advance!
[hairpull2] - Sillygirl
 
Thanks all - solved it myself!
[cheers]

 
Could you please post how you solved it.
 
I'd imagine that it is the difference between a DAO recordset and an ADO recordset. In other words the answer to the OP's "Could it be the references?" is "yes". And I imgine Sillygirl figured this out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top