It has taken me three days to try to embed a multi select list box into my already quite complex, but working query.
I have a VBA routine that collects the selected values and places them in a text box txtTaskQuery on my form. A command button then requeries the form.
The format of txtTaskQuery is (eg):
For a single value 3
For a multiple value 3,4,5
In the query design grid I have
[tbRFIs].[TaskID] In ([Forms]![fmRFI_QBF]![txtTaskQuery])
Expression
True
It works for a single value, but not any multiple values.
Where am I going wrong? I am pulling my hair out over this!!
Dave
I have a VBA routine that collects the selected values and places them in a text box txtTaskQuery on my form. A command button then requeries the form.
The format of txtTaskQuery is (eg):
For a single value 3
For a multiple value 3,4,5
In the query design grid I have
[tbRFIs].[TaskID] In ([Forms]![fmRFI_QBF]![txtTaskQuery])
Expression
True
It works for a single value, but not any multiple values.
Where am I going wrong? I am pulling my hair out over this!!
Dave