Zydeceltico
Registered User.
- Local time
- Today, 17:22
- Joined
- Dec 5, 2017
- Messages
- 843
Hi All -
We do several types of inspections of product where I work (e.g., welding, rolling, paint line, etc).
I have tables for each of these unique processes and inspection forms specifically focused on each one.
In an attempt to normalize even more, I have created two new tables: tblInspectionType and tblInspectionEvent.
I also have Lookup Tables for tblWorkstation and tblPartNumber. Each of these has two fields - one being an ID (autonumber).
The idea behind tblInspectionEvent is that it acts somewhat like a junction table to record an inspection OF ANY TYPE in a single table so that later I can query all inspections for a JobNumber across two important fields that coincidentally appear in all types of inspections. There are very, very few fields that occur in more than one type of inspection report but these two do - and they are important - but not PK material.
tblInspectionType is simply a Lookup Table with 2 fields (InspectType_ID and InspectionType (e.g., welding, rolling, paint line, etc)).
So I want to create a form (frmInspectionEvent) linked to tblInspectionEvent that has five fields: InspectionEvent_ID (autonumber PK), dDate, tTime, JobNum_FK, and InspectionType_FK (cbo that "looks-up" from tblInspectionType from frmInspectionEvent).
Remembering that I have unique forms and tables for each type of InspectionType - - I would like the user to make a selection from cboInspectionType and have a popup of the specified InspectionType appear (e.g., frmMillInspect).
I would like that form to be filled out and when the save button is clicked on that form (frmMillInspect) a record is created in tblMillInspect as well as a record of general data in tblInspectionEvent originally entered on frmInspectionEvent and before a selection was made in cboInspectionType.
Then I would like for frmInspectionEvent to requery itself to clear the record and prepare for a new record.
Is this possible?
How do I design this?
Thanks in advance,
Tim
We do several types of inspections of product where I work (e.g., welding, rolling, paint line, etc).
I have tables for each of these unique processes and inspection forms specifically focused on each one.
In an attempt to normalize even more, I have created two new tables: tblInspectionType and tblInspectionEvent.
I also have Lookup Tables for tblWorkstation and tblPartNumber. Each of these has two fields - one being an ID (autonumber).
The idea behind tblInspectionEvent is that it acts somewhat like a junction table to record an inspection OF ANY TYPE in a single table so that later I can query all inspections for a JobNumber across two important fields that coincidentally appear in all types of inspections. There are very, very few fields that occur in more than one type of inspection report but these two do - and they are important - but not PK material.
tblInspectionType is simply a Lookup Table with 2 fields (InspectType_ID and InspectionType (e.g., welding, rolling, paint line, etc)).
So I want to create a form (frmInspectionEvent) linked to tblInspectionEvent that has five fields: InspectionEvent_ID (autonumber PK), dDate, tTime, JobNum_FK, and InspectionType_FK (cbo that "looks-up" from tblInspectionType from frmInspectionEvent).
Remembering that I have unique forms and tables for each type of InspectionType - - I would like the user to make a selection from cboInspectionType and have a popup of the specified InspectionType appear (e.g., frmMillInspect).
I would like that form to be filled out and when the save button is clicked on that form (frmMillInspect) a record is created in tblMillInspect as well as a record of general data in tblInspectionEvent originally entered on frmInspectionEvent and before a selection was made in cboInspectionType.
Then I would like for frmInspectionEvent to requery itself to clear the record and prepare for a new record.
Is this possible?
How do I design this?
Thanks in advance,
Tim