I set up a subform listing stored values from a junction and lookup table. This part is working nicely (I can view all stored entries or add new ones).
Here are my relationships:
And here's the layout of my form showing where I attempted to remove a previously saved association. If I simply delete the contents of the row in the form, Access returns this when I try to save the record: index or primary key cannot contain null value
The SQL to remove a row from a console is straightforward:
DELETE FROM junction_model WHERE cust_id = X AND model_id = Y
Removing a row from the form is proving not to be as straightforward.
Is there a relatively easy way of doing this from the form itself?