I have two tables. My forms are set up so I have one form embedded into another each form using a table.
tables:
SYSTEM - contains general system data
DETAIL - contains individual discrepancies by date
forms:
SYSTEMF - contains SYSTEM table with DETAILF form embedded
DETAILF - contains DETAIL table
Obviously each SYSTEMF form allows me to input multiple details for that specific serial number. Or so it should. For some reason, the AUTOINCREMENT PK in the DETAIL table always remains the same unless I go to another SYSTEM record.
My thought is to create an autoincremented PK for the DETAIL table that corresponds with the current SYSTEM record's serial number. But how?
Hope this makes some kind of sense. Thanks in advance.
Adam
tables:
SYSTEM - contains general system data
DETAIL - contains individual discrepancies by date
forms:
SYSTEMF - contains SYSTEM table with DETAILF form embedded
DETAILF - contains DETAIL table
Obviously each SYSTEMF form allows me to input multiple details for that specific serial number. Or so it should. For some reason, the AUTOINCREMENT PK in the DETAIL table always remains the same unless I go to another SYSTEM record.
My thought is to create an autoincremented PK for the DETAIL table that corresponds with the current SYSTEM record's serial number. But how?
Hope this makes some kind of sense. Thanks in advance.
Adam