flaviooooo
Programmer
Hi,
I have a little problem that I just can't figure out. I have a form, with several textfields and a combobox. In this combobox you can select a customer. The report that is produced from this form, is being fed by that cbobox. So it only shows the customer that is selected there.
But now i'd like to show all customers if the combobox is blank.
I've gotten as far as (in the query criteria of the report):
iif([forms]![formname]![cboCust] like "*"; [forms]![formname]![cboCust];"*"
but the star-thingy at the end doesn't work. I there a way to pull this off?
Thanks!
I have a little problem that I just can't figure out. I have a form, with several textfields and a combobox. In this combobox you can select a customer. The report that is produced from this form, is being fed by that cbobox. So it only shows the customer that is selected there.
But now i'd like to show all customers if the combobox is blank.
I've gotten as far as (in the query criteria of the report):
iif([forms]![formname]![cboCust] like "*"; [forms]![formname]![cboCust];"*"

but the star-thingy at the end doesn't work. I there a way to pull this off?
Thanks!