O
OceansideDJ
My code ran in Access 2000. Now in Access 2003, on >>Debug>>Compile, I get:
Compile error: Method or data member not found.
The highlighted code is the ".LastModified" in:
With rsResult
.AddNew
!PeriodNo = iPeriodAssignment
!PeriodTitle = sPeriodTitle
.Update
.Bookmark = .LastModified
Under >Tools>References I have checked:
Visual Basic for Applications
Microsoft Access 11.0 Object Library
Microsoft ActiveX Data Object Library
OLE Automation
If I add Microsoft ActiveX Data Objects Library 2.7 to References, I get:
"Ambiguous name detected: UpdateLogTable"
Changing the order of the references toggles between the two error messages.
Help much appreciated.
Mike
Compile error: Method or data member not found.
The highlighted code is the ".LastModified" in:
With rsResult
.AddNew
!PeriodNo = iPeriodAssignment
!PeriodTitle = sPeriodTitle
.Update
.Bookmark = .LastModified
Under >Tools>References I have checked:
Visual Basic for Applications
Microsoft Access 11.0 Object Library
Microsoft ActiveX Data Object Library
OLE Automation
If I add Microsoft ActiveX Data Objects Library 2.7 to References, I get:
"Ambiguous name detected: UpdateLogTable"
Changing the order of the references toggles between the two error messages.
Help much appreciated.
Mike