Hi
I am creating primary keys using a random number generator with some other modifications. The primary keys are of type double.
I have witnessed a situation where I inserted two primary keys which appear exactly the same when I look at the table in Access, however Access allowed their insertion.
The field I am inserting into has been set to Indexed (No Duplicates), Required=Yes, 15 decimal places, default val=0.
I've tried silly things like changing required to "no".
The other thing i've tried is cutting one record's primary key out, deleting it, closing Access, opening Access, pasting this record back and it still allows this. Then i tried to type in the same number and it didn't let me.
My guess is something like the actual precision of the number is greater than what Access is displaying.
Anyone have any thoughts on this?
Thanks in advance
Quilmes
quilmes
I am creating primary keys using a random number generator with some other modifications. The primary keys are of type double.
I have witnessed a situation where I inserted two primary keys which appear exactly the same when I look at the table in Access, however Access allowed their insertion.
The field I am inserting into has been set to Indexed (No Duplicates), Required=Yes, 15 decimal places, default val=0.
I've tried silly things like changing required to "no".
The other thing i've tried is cutting one record's primary key out, deleting it, closing Access, opening Access, pasting this record back and it still allows this. Then i tried to type in the same number and it didn't let me.
My guess is something like the actual precision of the number is greater than what Access is displaying.
Anyone have any thoughts on this?
Thanks in advance
Quilmes
quilmes