Good morning all,
I am struggling to resolve an Form/Subform issue in Access 2003 where the subform has a combobox and criteria linked to two other controls. My end goal is to be able to load this Form/Subform and enter values in the two controls of the subform that will fill the value in the CboBox.
My MainForm has 1 SubForm with a Combo box that is intended to be automatically populated based on inputs in 2 previous controls within the subform. When loading the MainForm I am requested to enter a parameter value for each of the controls listed as criteria in the Combobox SQLQuery.
If I run the subform by itself the Combo box works as intended. (If the criteria in the syntax is listed as follows Forms![SubformName].[cboControlName]. I have tried changing the criteria syntax to Forms![MainFormName]![SubformName].[cboControlName] and loading the main form but I am prompted for the parameter value.
My end goal is to be able to load this Form/Subform and enter values in the two controls of the subform that will fill the value in the CboBox. I have found a lot of suggestions on the Net regarding AfterUpdate and OnLoad events but it always asks for the Parameter at MainForm load.
Thanks for any assistance you can provide.
Best regards,
Kevin