D
Deb Smith
I have a form that is used to set the parameters for a report. On this form
I have 3 unbound combo boxes Using the following union query, I added all to
the combo box called Occassion
SELECT OccassionType.Occassion, OccassionType.OccassionID FROM OccassionType
UNION SELECT '<ALL>', '0' FROM OccassionType
ORDER BY OccassionType.Occassion;
In the query for my report I have been using
[Forms]![Form1]![Occassion]
to obtain the selected criteria from Form1. This does not work now that I
have added <ALL> to the choices.
How do I change my query so that it recognizes <ALL> when <ALL> is the
choice selected from an unbound combo box on a form and in turn create the
report showing all records?
Any help would be greatly appreciated.
Thanks
I have 3 unbound combo boxes Using the following union query, I added all to
the combo box called Occassion
SELECT OccassionType.Occassion, OccassionType.OccassionID FROM OccassionType
UNION SELECT '<ALL>', '0' FROM OccassionType
ORDER BY OccassionType.Occassion;
In the query for my report I have been using
[Forms]![Form1]![Occassion]
to obtain the selected criteria from Form1. This does not work now that I
have added <ALL> to the choices.
How do I change my query so that it recognizes <ALL> when <ALL> is the
choice selected from an unbound combo box on a form and in turn create the
report showing all records?
Any help would be greatly appreciated.
Thanks