For context:
I have a database set up to record and maintain product inspections. I started with the original table, "MainData_tbl" adding the fields I needed and from there I made more tables to give my 'MainData' fields some options for the controls to reference; these tables include:
- "Cables/Plates_tbl"
- Cables/Plates for projects are input here by admin.
- "Colors_tbl"
- "EmployeeDirectory_tbl"
- "ErrorType_tbl"
- "Inspectors_tbl"
- "MainData_tbl"
- "Stations_tbl"
Not all of these are necessary to list for my question but I want give as much information as I can without breaching company guidelines as far as data security.
Our products are built in house and are assigned project numbers. Our projects encompass many smaller components, with individual part numbers, to come to a whole product. The projects are also assigned a color, not physically painted on the project, just for the paperwork to mitigate confusion among production workers having to remember project numbers.
The way that the inspections are recorded is through a form that writes to "MainData_tbl":
First the 'PROJECT" number is selected and that requeries 'COLOR', 'CABLE/PLATE' and 'MTG SITE' to show only the options for the project in question. The rest, except for the 'Final Inspection?' Check Box, is pretty much irrelevant for my question.
My Problem:
The Check Box writes to a coordinating field in "MainData_tbl", which is what I intend for it to do, however I would also like for it manipulate a similar field in "Cables/Plates_tbl", to give a true value for the cable or plate that the inspection data was entered for so that admin can analyze which cable or plates have or haven't been inspected.
Is it possible for one Form control to write to more than one table?
I may have left some pertinent information out, forgive me I am working on many things on top of maintaining this database. If there is any information needed along with what I've already provided please feel free to ask.