I am going around in circles. I am trying to design a database to submit for an assignment but it is driving me mad! I am not sure if the problem is with my actual database structure (eg the relationships) or the way I am trying to use the forms?
What I am trying to do is have a main form with several tabbed subforms. My main form doesn't actually do anything, it's just where the subforms reside (is that part of the problem?). The subforms should enable me to fill out information relating to a faulty item, eg, plumbing leak in a bathroom, I should also be able to set the priority, who requested the repair job, who logged the maintenance request, and the name of the company that will carry out the repair.
But, when I try and enter data in the first subform and then click on the tab for the next subform I get an error to do with not being able to enter data due to related records in a different table. Is that because of the enforcing of relationship integrity? I'm really quite lost with this, and I've experimented with all sorts of things, including changing primary and foreign keys, parent and child links with subforms etc, but all leading to other problems.
As a last resort I have hacked out the main part of the database that is causing me grief and have posted it here hoping someone will see the error of my ways and tell me how to resolve it.
I've searched through the forums on this site many times and also posted a few other problems too, I've have been able to fix all of the problems I've encountered before now, but this one has me stumped.
Any assistance would be greatly appreciated. Thanks.
What I am trying to do is have a main form with several tabbed subforms. My main form doesn't actually do anything, it's just where the subforms reside (is that part of the problem?). The subforms should enable me to fill out information relating to a faulty item, eg, plumbing leak in a bathroom, I should also be able to set the priority, who requested the repair job, who logged the maintenance request, and the name of the company that will carry out the repair.
But, when I try and enter data in the first subform and then click on the tab for the next subform I get an error to do with not being able to enter data due to related records in a different table. Is that because of the enforcing of relationship integrity? I'm really quite lost with this, and I've experimented with all sorts of things, including changing primary and foreign keys, parent and child links with subforms etc, but all leading to other problems.
As a last resort I have hacked out the main part of the database that is causing me grief and have posted it here hoping someone will see the error of my ways and tell me how to resolve it.
I've searched through the forums on this site many times and also posted a few other problems too, I've have been able to fix all of the problems I've encountered before now, but this one has me stumped.
Any assistance would be greatly appreciated. Thanks.