A
Alastair MacFarlane
Dear all,
Is there any way in access that I can switch of the PrimaryKey constraint
off and Append data through an action query and start the PrimaryKey
constraint again.
If I have a table that has:
ID (PK) - Autonumber
Field1
with values of :
ID: 1; Field1: A
ID: 2; Field1: B
ID: 4; Field1: C
How can insert an ID of 3 and any filed value into the Field1 column? If you
add another record you will get the next autonumber (5 in this case) but I
want it to be 3. Can this be achieved? You can remove the PrimaryKey
constraint, add the data but you then can't save the table.
Thanks again for any thoughts.
Alastair
Is there any way in access that I can switch of the PrimaryKey constraint
off and Append data through an action query and start the PrimaryKey
constraint again.
If I have a table that has:
ID (PK) - Autonumber
Field1
with values of :
ID: 1; Field1: A
ID: 2; Field1: B
ID: 4; Field1: C
How can insert an ID of 3 and any filed value into the Field1 column? If you
add another record you will get the next autonumber (5 in this case) but I
want it to be 3. Can this be achieved? You can remove the PrimaryKey
constraint, add the data but you then can't save the table.
Thanks again for any thoughts.
Alastair