Leo_Polla_Psemata
Registered User.
- Local time
- Today, 11:09
- Joined
- Mar 24, 2014
- Messages
- 364
Hi there.
I have three tables, Tabl1, Tabl2, Tabl3, relation one to many.
One continues form (MainF) that contains the very basic data from Tabl1, Table2.
Another three forms that displays detailed info from Tabl1, Tabl2, Tabl3
Tabl1F
- Tabl2F
-- Table3F
We need to, review the summary data in MainF, click and go to desired record in detailed forms.
With this code i can jump from MainF form to Tabl2F form on specific record BUT i don't see info displayed in Tabl1F.
DoCmd.OpenForm "Tabl2F", acNormal, "", "[KeyField1]=[Forms]![MainF]![KeyField1]", , acNormal
If I use this code, I can jump from Mainf to Tabl1F but then i have to find manually the specific record on Tabl2F by clicking "nexr record".
DoCmd.OpenForm "Tabl1F", acNormal, "", "[KeyField2]=[Forms]![MainF]![KeyField2]", , acNormal
Is there any DoCmd.OpenForm code that would help, by clicking the KeyField1 in MainF to go to specific record in Tabl2F
but see the Tabl1F as well ?
From Mainf, click KeyField1 which is a field that belongs to Tabl2F but see the forms in the below structure ?
Tabl1F
- Tabl2F *
-- Table3F
I have three tables, Tabl1, Tabl2, Tabl3, relation one to many.
One continues form (MainF) that contains the very basic data from Tabl1, Table2.
Another three forms that displays detailed info from Tabl1, Tabl2, Tabl3
Tabl1F
- Tabl2F
-- Table3F
We need to, review the summary data in MainF, click and go to desired record in detailed forms.
With this code i can jump from MainF form to Tabl2F form on specific record BUT i don't see info displayed in Tabl1F.
DoCmd.OpenForm "Tabl2F", acNormal, "", "[KeyField1]=[Forms]![MainF]![KeyField1]", , acNormal
If I use this code, I can jump from Mainf to Tabl1F but then i have to find manually the specific record on Tabl2F by clicking "nexr record".
DoCmd.OpenForm "Tabl1F", acNormal, "", "[KeyField2]=[Forms]![MainF]![KeyField2]", , acNormal
Is there any DoCmd.OpenForm code that would help, by clicking the KeyField1 in MainF to go to specific record in Tabl2F
but see the Tabl1F as well ?
From Mainf, click KeyField1 which is a field that belongs to Tabl2F but see the forms in the below structure ?
Tabl1F
- Tabl2F *
-- Table3F