Include the value of a form control in a listbox SQL
Posted: Sat Mar 26, 2022 6:15 am
				
				I want to refer to the value of a combobox on a form in Base in the where clause of the sql that populates a listbox on the form. Ideally the listbox sql should execute any time the value of the combobox is changed by the user.  If that is possible, I would prefer to use the value of multiple comboboxes (at least two) in creating the where clause in the sql for the listbox whenever the value of either of the two comboboxes is changed by the user.  I know how to write sql but don't know how to modify the where clause to refer to a control on the form and its value and how to initiate a refresh of the contents of the listbox.