Hi, I really need help with a form and a subform.
The main form is the WorkOrder. I select the FleetID from the dropdown list and this creates a WorkOrderID number.
Then I enter the ServiceTypeID number which brings up a list in the subform of all the ServiceItems that belong to the ServiceTypeID.
My problem is when I select on the checkbox to mark a Service Item as Completed I get an error message saying “You cannot add or change a record because a related record is required in table “tblServiceItemsID””
I’ve tried various ways of changing my relationship structure, my queries and form and this is the closest I have ever got to getting the form to do what I want.
Can someone shed some light on what the problem is, and how may I resolve it please….
Attached are screenshots of the relationships, queries and form.
The main form is the WorkOrder. I select the FleetID from the dropdown list and this creates a WorkOrderID number.
Then I enter the ServiceTypeID number which brings up a list in the subform of all the ServiceItems that belong to the ServiceTypeID.
My problem is when I select on the checkbox to mark a Service Item as Completed I get an error message saying “You cannot add or change a record because a related record is required in table “tblServiceItemsID””
I’ve tried various ways of changing my relationship structure, my queries and form and this is the closest I have ever got to getting the form to do what I want.
Can someone shed some light on what the problem is, and how may I resolve it please….
Attached are screenshots of the relationships, queries and form.