G
Guest
I have a matrix of checkboxes on a continuous form.
I would also like to use checkboxes in the header to specify parameter
criteria in the form's query. The rows that appear on the form should match
the criteria checkbox contents. If the box is (triple state) grey, the
criteria should be 'everything'.
This works when using the criteria line for example,
Like [Forms]![FrmAssyStatus2]![CheckSales] & "*"
I need to add about a dozen or so of these criteria, and they should work in
an OR fashion. The grey state of any criteria checkbox would basically mean
that that column is unfiltered. But when I add the criteria to the query
matrix as OR's, all records are displayed no matter what checkboxes are on.
I'm guessing the & "*" parts of the criteria are messing this up, but I
don't know any other way to work it. I'm sure there must be another way.
Thanks in advance.
I would also like to use checkboxes in the header to specify parameter
criteria in the form's query. The rows that appear on the form should match
the criteria checkbox contents. If the box is (triple state) grey, the
criteria should be 'everything'.
This works when using the criteria line for example,
Like [Forms]![FrmAssyStatus2]![CheckSales] & "*"
I need to add about a dozen or so of these criteria, and they should work in
an OR fashion. The grey state of any criteria checkbox would basically mean
that that column is unfiltered. But when I add the criteria to the query
matrix as OR's, all records are displayed no matter what checkboxes are on.
I'm guessing the & "*" parts of the criteria are messing this up, but I
don't know any other way to work it. I'm sure there must be another way.
Thanks in advance.