R
Ruth
I have a form with combo boxes that I am using to provide criteria to
a query. I am able to pass the other combo box values (I require each
of those to have a selection made) by referencing the control name in
the query. The form values are passed to the query with a button click
(which actually launches a report that the query is based on).
Here's what I need to do:
If NO customer is selected in cboCustomer, then records for ALL
Customers are returned. I have tried various solutions using the "On
Click" event for the button but can't get the syntax right.
Help please?
Thanks!
Ruth
BTW, cboCustomer is based on the field [CustomerName]. I chose not to
use the [CustomerID] field since it is a text field as well and
doesn't conform to any standard parameters like # characters, no
spaces, etc.
a query. I am able to pass the other combo box values (I require each
of those to have a selection made) by referencing the control name in
the query. The form values are passed to the query with a button click
(which actually launches a report that the query is based on).
Here's what I need to do:
If NO customer is selected in cboCustomer, then records for ALL
Customers are returned. I have tried various solutions using the "On
Click" event for the button but can't get the syntax right.
Help please?
Thanks!
Ruth
BTW, cboCustomer is based on the field [CustomerName]. I chose not to
use the [CustomerID] field since it is a text field as well and
doesn't conform to any standard parameters like # characters, no
spaces, etc.