wh00t
Registered User.
- Local time
- Today, 05:09
- Joined
- May 18, 2001
- Messages
- 264
I am using IIf to make a selection box on a form optional to run a report from a query, the formula I have works fine apart from one!
for one of the fields I have 2 combo boxes, start date and end date. The formula I have been using is as follows
IIf([Forms]![form]![Combo7] Is Null,[Date],[Forms]![form]![Combo7]) - this works fine
but for the dates I still need it optional, but then if it is not null use Between..And , so I tried
IIf([Forms]![form]![Combo1] Is Null,Between [Date],[Forms]![form]![Combo1] And ],[Forms]![form]![Combo3])
but this does not work, can anyone give me any other ways to do this?
for one of the fields I have 2 combo boxes, start date and end date. The formula I have been using is as follows
IIf([Forms]![form]![Combo7] Is Null,[Date],[Forms]![form]![Combo7]) - this works fine
but for the dates I still need it optional, but then if it is not null use Between..And , so I tried
IIf([Forms]![form]![Combo1] Is Null,Between [Date],[Forms]![form]![Combo1] And ],[Forms]![form]![Combo3])
but this does not work, can anyone give me any other ways to do this?