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!

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

Status
Not open for further replies.

Sillygirl

Programmer
May 3, 2002
80
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
 
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