Hi !!!!
I've a table called client. The primarykey of this table is an autonumber.
I need to duplicate some clients in the table.So I made an add request which add a record onto the client table using datas from other record in the table.
My query works very well. It creates a new record in the table, changing the primarykey.But is it possible to get and store this new primarykey on VBA code ?
I've a table called client. The primarykey of this table is an autonumber.
I need to duplicate some clients in the table.So I made an add request which add a record onto the client table using datas from other record in the table.
My query works very well. It creates a new record in the table, changing the primarykey.But is it possible to get and store this new primarykey on VBA code ?