G
Guest
My database works in a multiuser environment where different people may
create simustaneously records to be written to the same table. It happens
that if one person creates a record and fills in data, another person
sometimes overwrites that record while creating her own a few minutes later
if the first record has not been written to the table.
So I have to ensure that while a new record is created, the initial data,
especially the primary key, is written directly to the table so that the next
user creating a record picks indeed a new record.
I have written a DoCmd.Requery statement in the forms Current procedure, but
I wonder if there is a neater way of doing this.
create simustaneously records to be written to the same table. It happens
that if one person creates a record and fills in data, another person
sometimes overwrites that record while creating her own a few minutes later
if the first record has not been written to the table.
So I have to ensure that while a new record is created, the initial data,
especially the primary key, is written directly to the table so that the next
user creating a record picks indeed a new record.
I have written a DoCmd.Requery statement in the forms Current procedure, but
I wonder if there is a neater way of doing this.