G
Guest
I used this code under Access 97 to get the id (autonumber) of an added record:
rsC.AddNew
rsC("LastName") = rs.Fields("Lastname")
rsC("FirstName") = rs.Fields("Firstname")
rsC.Update
rsC.Bookmark = rsC.LastModified <=== ???
CreateClient = rsC.Fields("ID")
But under Access 2000, it does not like the .LastModified property
How do I do this ???
rsC.AddNew
rsC("LastName") = rs.Fields("Lastname")
rsC("FirstName") = rs.Fields("Firstname")
rsC.Update
rsC.Bookmark = rsC.LastModified <=== ???
CreateClient = rsC.Fields("ID")
But under Access 2000, it does not like the .LastModified property
How do I do this ???