G
Guest
Hello,
I would like to limit what is shown in the drop-down list of a combo box
based on the value that is checked off in an Option group.
Right now, I have the 'Row Source:' of my combo box set to:
SELECT LU_familymember.familymember
FROM LU_familymember, tFamilyHxDisease
WHERE
((([LU_familymember]![familydegree])=[Forms]![fFamilyHxDisease]![FrameRelDegree]));
where 'LU_familymember' is the lookup table I want to supply select family
members (field: 'familymember') in my combo box based on what is chosen in my
Option group field ('FrameRelDegree') on the current form (fFamilyHxDisease).
In the AfterUpdate() Event of 'FrameRelDegree', I have the following to
requery my combo box:
Private Sub FrameRelDegree_AfterUpdate()
Me!CbxRelType.Requery
End Sub
where 'CbxRelType' is the combo box which I would want to limit which values
are shown, based on what is selected from the Option Group (FrameRelDegree')
on the same form.
How do I make this happen? Thank you.
I would like to limit what is shown in the drop-down list of a combo box
based on the value that is checked off in an Option group.
Right now, I have the 'Row Source:' of my combo box set to:
SELECT LU_familymember.familymember
FROM LU_familymember, tFamilyHxDisease
WHERE
((([LU_familymember]![familydegree])=[Forms]![fFamilyHxDisease]![FrameRelDegree]));
where 'LU_familymember' is the lookup table I want to supply select family
members (field: 'familymember') in my combo box based on what is chosen in my
Option group field ('FrameRelDegree') on the current form (fFamilyHxDisease).
In the AfterUpdate() Event of 'FrameRelDegree', I have the following to
requery my combo box:
Private Sub FrameRelDegree_AfterUpdate()
Me!CbxRelType.Requery
End Sub
where 'CbxRelType' is the combo box which I would want to limit which values
are shown, based on what is selected from the Option Group (FrameRelDegree')
on the same form.
How do I make this happen? Thank you.