G
Guest
I would like to filter the following query based on the result of some
buttons selected on my form. Here is the query:
SELECT tblMaterial.HANDOUT, tblMaterial.SPEAKER, tblMaterial.RATING,
tblMaterial.ASSOC, tblMaterial.REP, tblMaterial.DIS, tblMaterial.DIV,
tblMaterial.REG, tblMaterial.RVP
FROM tblMaterial
ORDER BY tblMaterial.HANDOUT, tblMaterial.ASSOC, tblMaterial.REP,
tblMaterial.DIS, tblMaterial.DIV, tblMaterial.REG, tblMaterial.RVP;
There will be 6 buttons on the form. Multiple buttons may be selected. The
idea is if no button is selected, then the above query brings everything
back, but, e.g. if REP and DIV are selected the above query should be
filtered by showing only those records which have REP and DIV as true on the
Materials table.
The property of what element on the form should your suggestion be applied?
Thanks.
buttons selected on my form. Here is the query:
SELECT tblMaterial.HANDOUT, tblMaterial.SPEAKER, tblMaterial.RATING,
tblMaterial.ASSOC, tblMaterial.REP, tblMaterial.DIS, tblMaterial.DIV,
tblMaterial.REG, tblMaterial.RVP
FROM tblMaterial
ORDER BY tblMaterial.HANDOUT, tblMaterial.ASSOC, tblMaterial.REP,
tblMaterial.DIS, tblMaterial.DIV, tblMaterial.REG, tblMaterial.RVP;
There will be 6 buttons on the form. Multiple buttons may be selected. The
idea is if no button is selected, then the above query brings everything
back, but, e.g. if REP and DIV are selected the above query should be
filtered by showing only those records which have REP and DIV as true on the
Materials table.
The property of what element on the form should your suggestion be applied?
Thanks.