MS Access: Table relations via Forms

Posted on 2011-05-03
Medium Priority
Last Modified: 2012-05-11
My table relationships are now correct. I saw the video on how to do this and I matched the connections to my tables.

However when I attempt to add a record via the form “frmInspectionsDimension” I get this error:

“You cannot add or change a record because a related record is required in table tblTools.”

In this form you are supposed to select the Tool ID which in this form only sees dimensional tools and then you enter in the Date Checked, Checked By, General Condition and Comments. You also enter any measurement checks that you might make.

If the table relationships are correct why doesn’t the form work??

Question by:James Coats
LVL 12

Accepted Solution

danishani earned 1000 total points
ID: 35514924
Well the error is caused, while you need to create a ToolID in your tblInspections first.

So from there you can pull up the information from tblTools.

LVL 40

Assisted Solution

als315 earned 1000 total points
ID: 35514986
And you also should add InspectionPK from tblDimensionVerification to InspectionPK in tblInspections.

Author Closing Comment

by:James Coats
ID: 35515219
Thanks guys this worked

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question