How do I get get my PK from tblAlerts to be a FK in tblProducts?
I want the Alert_ID from tblAlerts to automatically populate as Alert_ID foreign key in tblProducts.
I've done this before, but I can't re-wrap my head around it.
You can't add data to tblProducts without adding it to tblAlerts first. And there are no entries in tblAlerts that won't have related entries in tblProducts.
So, when records are added to tblAlerts it should update Alert_ID in both tables. This is the Cascade update/delete property right?
The problem I'm having is adding the initial data to my tables... I add the data to tblAlerts then create the AutoNumber PK Alert_ID. Then add the data to tblProducts and add Alert_ID as a FK, but it doesn't auto-populate.
I think I'm missing something important here.
I want the Alert_ID from tblAlerts to automatically populate as Alert_ID foreign key in tblProducts.
I've done this before, but I can't re-wrap my head around it.
You can't add data to tblProducts without adding it to tblAlerts first. And there are no entries in tblAlerts that won't have related entries in tblProducts.
So, when records are added to tblAlerts it should update Alert_ID in both tables. This is the Cascade update/delete property right?
The problem I'm having is adding the initial data to my tables... I add the data to tblAlerts then create the AutoNumber PK Alert_ID. Then add the data to tblProducts and add Alert_ID as a FK, but it doesn't auto-populate.
I think I'm missing something important here.