Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If paramater 1 = Complete then enter parameter 2 - date range

Status
Not open for further replies.

CrystalLion

Programmer
Jan 3, 2007
113
US
How do I set up parameter to do the following

If the user wants to see "Completed" WIP then ask for a date range. If the user wants to see "Incomplete" WIP, don't ask for a date range.

Any help is appreciated.
Thanks
 
If "WIP" is incomplete, does it mean that the date is null for those records? If so, you could use a formula like this:

(
(
{?complete} = 'No' and
(
isnull({table.date}) or
{table.date} = date(0,0,0)
)
) or
(
{?complete} = 'Yes' and
{table.date} = {?daterange}
)
)

-LB
 
Thanks LBass. I will try it tomorrow morning when I get to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top