I have a control form [type] on a form B. The value is tied to a selection made on Form A. Works great. I have a combo box [Requirement] on Form B that contains multiple selections. Not all of the selections are valid for each [Type]. There are three different "types" possible. Within the table (query) feeding the combox box, I added a field entitiled "code"
tblCombo Box
ID
Requirement (text field)
Code (number field) Codes numbers 1, 2 or 3 are assigned to each "Requirement"
On Form B, if the [type] is 1, then I want the combo box to only display the choice for 1. If [type] = 2, then only display the "requirement" choices with a code of 2, and same for 3.
I cannot figured out how to code the "onOpen", or "OnLoad" field in the combo box, or in the properites for Form B, to set the combo box query, based on the value in [Type} box. It keeps showing all requirement choices.
Thank you.