G
Guest
Hi,
I have a table which contains a key, name and other info. I have a form
that shows only certain records from the table based on a restriction. I
want to add a new record from this restricted form, but when I enter data in
the new record the key value for the new record is not updated. It stays at
0. If I try to add 2 new records I get an error for duplicate key (because
they both have a 0 value) and get locked up.
Is there a way to get the key value to increment to the next value when in a
restricted form?
Thanks,
I have a table which contains a key, name and other info. I have a form
that shows only certain records from the table based on a restriction. I
want to add a new record from this restricted form, but when I enter data in
the new record the key value for the new record is not updated. It stays at
0. If I try to add 2 new records I get an error for duplicate key (because
they both have a 0 value) and get locked up.
Is there a way to get the key value to increment to the next value when in a
restricted form?
Thanks,