E
EEH
I have built cascading combo on a single form before... however, I need some
help using cascading combo between different "levels" (combo1 on subform
drives data on combo2 on subsubform).
As pictures (examples) speak thousands words, I've posted a sample db at:
<http://www.savefile.com/files/5187780>
If you are ok w/ downloading this sample, please follow the steps as
outlined below:
1. by default, main form "frmIssuesOpen" opens
2. the main form has 2 subforms. The problem lies within subform labeled
"Assign Affected M&&P(s)" (actual name is "sfrmM&P")
3. This subform has 2 fields. The 1st one "Member" is locked... that's by
design. The 2nd one "Affected M&P" is the combo box that should "drive"
subsequent values in the next combo. Let's say you select "1.2" for "Affected
M&P".
4. Now, based on step #3, click on the "+" for the record. This open the
next subform ("Associated MOPMOE").
5. "Associated MOPMOE" ("sfrmMOPMOE") has only one field... the combo which
should only show those records given what you selected in #3.
6. Given the data mapping shown below, in this sample db, there are 3
"Associated MOPMOE" records for each of the 3 "Affected M&P" records.
Here's the problem... no matter which one of the 3 "Affected M&P" (1.1, 1.2,
1.3) records I select in the 1st subform, I get all 9 values in my 2nd combo.
Instead I should see only 3 ... 1.1 should show 1.1.1, 1.1.2, 1.1.3.
Any ideas how I can create the linkage between those 2 combo boxes?
Thanks,
EEH
00_tblM&P
=======
ID AffectedM_P
1 1.1
2 1.2
3 1.3
00_tblMOPMOE
==========
ID AffectedM_P MOPMOE
1 1.1 1.1.1
2 1.1 1.1.2
3 1.1 1.1.3
4 1.2 1.2.1
5 1.2 1.2.2
6 1.2 1.2.3
7 1.3 1.3.1
8 1.3 1.3.2
9 1.3 1.3.3
help using cascading combo between different "levels" (combo1 on subform
drives data on combo2 on subsubform).
As pictures (examples) speak thousands words, I've posted a sample db at:
<http://www.savefile.com/files/5187780>
If you are ok w/ downloading this sample, please follow the steps as
outlined below:
1. by default, main form "frmIssuesOpen" opens
2. the main form has 2 subforms. The problem lies within subform labeled
"Assign Affected M&&P(s)" (actual name is "sfrmM&P")
3. This subform has 2 fields. The 1st one "Member" is locked... that's by
design. The 2nd one "Affected M&P" is the combo box that should "drive"
subsequent values in the next combo. Let's say you select "1.2" for "Affected
M&P".
4. Now, based on step #3, click on the "+" for the record. This open the
next subform ("Associated MOPMOE").
5. "Associated MOPMOE" ("sfrmMOPMOE") has only one field... the combo which
should only show those records given what you selected in #3.
6. Given the data mapping shown below, in this sample db, there are 3
"Associated MOPMOE" records for each of the 3 "Affected M&P" records.
Here's the problem... no matter which one of the 3 "Affected M&P" (1.1, 1.2,
1.3) records I select in the 1st subform, I get all 9 values in my 2nd combo.
Instead I should see only 3 ... 1.1 should show 1.1.1, 1.1.2, 1.1.3.
Any ideas how I can create the linkage between those 2 combo boxes?
Thanks,
EEH
00_tblM&P
=======
ID AffectedM_P
1 1.1
2 1.2
3 1.3
00_tblMOPMOE
==========
ID AffectedM_P MOPMOE
1 1.1 1.1.1
2 1.1 1.1.2
3 1.1 1.1.3
4 1.2 1.2.1
5 1.2 1.2.2
6 1.2 1.2.3
7 1.3 1.3.1
8 1.3 1.3.2
9 1.3 1.3.3