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!
- Sillygirl
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!
- Sillygirl