mdwyer
asked on
ADO - ? autonumber after update
Using ADO 2.0 and Access 97 - How can you find out what the autonumber id of a record just added is? There is no Lastmodified property for an ADO recordset.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
As it turrns out - I was originally specifying a CursorLocation of adUseClient for my recordset . I switched to adUseServer and my autonumber ID was then visible after the update method.
URL for Q.10104529:
https://www.experts-exchange.com/topics/comp/lang/vbdatabases/Q.10104529
[-Note- the sample uses DAO - so I am performing a seek rather than opening a resultset but the concept is there.]