Zydeceltico
Registered User.
- Local time
- Today, 18:09
- Joined
- Dec 5, 2017
- Messages
- 843
Can you take one form (Inspection) and a subInspection, then lead us through the LineStop process (step by step)? Just using plain English describe what should happen and what you need to record.
I've tried several different code phrasings this morning trying to pass InspectionEvent_FK from frmInspectMill to frmLineStop while they are both open without success.
I am now convinced (with nothing to back it up) that I can't pass that value from one form to the other because it is not actually saved on the sub-inspection form when I open frmLineStop. the sub-inspection form is in a Dirty state.
I also realized that when conditions require a line stop, I should actually save the sub-inspection form data to its table before opening frmLineStop (or rather perform a "save to table" at the same time as opening frmLineStop).
So one command button that:
1) saves the sub-inspection data;
2) collects the value of InspectionEvent_FK from the sub-inspection form while it is closing;
3) opens frmLineStop and
4) passes the value of InspectionEvent_FK to Me.InspectionEvent_FK
Now let's see if I can figure that out.

Any assistance is greatly appreciated!
Thanks as always,
Tim