Hi, I have a field in my table that is set to AutoNumber and the index is set to "NO".
I add rows to the table through a form. However, when i try to add rows, sometimes, the autonumber field duplicates the values. Can I set the autonumber field in the code. I tried getting the max function and then adding 1, but I get an wrror of "type mismatch" or "invalid collection of items". Any help will be appreciated.
Thanks
I add rows to the table through a form. However, when i try to add rows, sometimes, the autonumber field duplicates the values. Can I set the autonumber field in the code. I tried getting the max function and then adding 1, but I get an wrror of "type mismatch" or "invalid collection of items". Any help will be appreciated.
Thanks