L
LisaB
I have imported the following code into my MS Access 2000 database and get a
compile error.
This code works in another database.
When trying to compile the .LastModified is highlighted when the error
message appears
also
I have simular code where the .Edit gets highlighted when the error message
appears
Microsoft Visual Basic - Compile Error - Method or data member not
found
----------------------------------
Set TheDB = CurrentDb
Set SourceRS = TheDB.OpenRecordset("tblOpened", dbOpenDynaset)
With SourceRS
.Edit
!Opened = !Opened + 1
.Update
.Bookmark = .LastModified
End With
SourceRS.Close
compile error.
This code works in another database.
When trying to compile the .LastModified is highlighted when the error
message appears
also
I have simular code where the .Edit gets highlighted when the error message
appears
Microsoft Visual Basic - Compile Error - Method or data member not
found
----------------------------------
Set TheDB = CurrentDb
Set SourceRS = TheDB.OpenRecordset("tblOpened", dbOpenDynaset)
With SourceRS
.Edit
!Opened = !Opened + 1
.Update
.Bookmark = .LastModified
End With
SourceRS.Close