chuckcoleman
Registered User.
- Local time
- Today, 17:21
- Joined
- Aug 20, 2010
- Messages
- 380
Hi, I know this has been addressed before but I can't find the solution. I have a form with a ComboBox. The ComboBox drop-down has the name of contractors and the name of "All". "All" has a value of one and each contractor has their own value, like 2, 3, 4 etc. If the value is not equal to 1/All, everything works as expected. I'm looking to have all records returned if the value of the ComboBox is 1. My criteria is:
On the first criteria line: IIf([Forms]![Report Form]![ContractorIDX]<>1,[Forms]![Report Form]![ContractorIDX]) NOTE: there are some other fields with their own criteria, i.e. the [Balance] is <> 0
On the second criteria line I have: IIf([Forms]![Report Form]![ContractorIDX]=1,Like "*") I have played around with various combinations of the Like function.
Suggestions please.
Chuck
On the first criteria line: IIf([Forms]![Report Form]![ContractorIDX]<>1,[Forms]![Report Form]![ContractorIDX]) NOTE: there are some other fields with their own criteria, i.e. the [Balance] is <> 0
On the second criteria line I have: IIf([Forms]![Report Form]![ContractorIDX]=1,Like "*") I have played around with various combinations of the Like function.
Suggestions please.
Chuck