G
Guest
I am getting an an error message with the code below.
"Compile error - Method or data member not found.
Error line ".Edit"
I am using DAO library 3.6.
'OPEN EMPLOYEE LOGIN TABLE
Dim dbs As DAO.Database
Dim rstEmployees As Recordset
Set dbs = OpenDatabase("PaperInventory.mdb")
Set rstEmployees = dbs.OpenRecordset("tblLogInTracking")
With rstEmployees
.Edit '(Error Message Here)
!LogOutTime = Time
End With
rstEmployees.Close
Set rstEmployees = Nothing
' Set dbs = Nothing
DoCmd.Close
Help Please
Thank You
Ileana
"Compile error - Method or data member not found.
Error line ".Edit"
I am using DAO library 3.6.
'OPEN EMPLOYEE LOGIN TABLE
Dim dbs As DAO.Database
Dim rstEmployees As Recordset
Set dbs = OpenDatabase("PaperInventory.mdb")
Set rstEmployees = dbs.OpenRecordset("tblLogInTracking")
With rstEmployees
.Edit '(Error Message Here)
!LogOutTime = Time
End With
rstEmployees.Close
Set rstEmployees = Nothing
' Set dbs = Nothing
DoCmd.Close
Help Please
Thank You
Ileana