Insert new record ID
I have an Access database with the ID field being the primary key.
I want to INSERT a new record into the database but if I don't enter ID field, I get an error "Primary key can't be null value". I understand why I get it but is there any way for Access to automatically generate a new value for ID when I INSERT a new record?
Otherwise, it seems I have to go through the database each time I want to INSERT a record and check for the highest ID value. Is this correct?
Thanks.
Howard
|