I have a query that I wish to initially call to catch all results from a database.
Then, when a combobox is updated, I wish for it to catch the columns only WHERE column = SelectedItemFromComboBox.
It’s all done; the only thing I am missing is some way to query
SELECT *
FROM Table1
WHERE Column1 = ALL;
So that I can then update it to
SELECT *
FROM Table1
WHERE Column1 = SelectedItemFromComboBox;
What can I initially set the string for SelectedItemFromComboBoxto so that I return all values?
Thanks.
Set
SelectedItemFromComboBoxtonulland change your query to