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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IWR 7 filter

Status
Not open for further replies.

railway

Programmer
Mar 14, 2004
3
AU
Need help to fix this problem...
I am using IWR 7. I create a type in prompt to ask for user's input and the prompt value will be used in the filter. eg. Customer_Name as the prompt. I set the default value as 'All'. If the user leaves the default value as it is ('All'), all customers will be retrieved. Otherwise only the customer name in the prompt value will be retrieved.
In the report, I created a calculated field as Cust_Prompt and its value is (If (?Customer_Name? <> 'All') Then (?Customer_Name?) else(' ')). In the filter, I put in (Customer_Name in (Cust_Prompt)). The result of this filter is: It only returns data when the user actually input something besides 'All' in the prompt but no data returns when the prompt value is 'All'.
Anyone has a get-around to fix it when the prompt value is 'All'.
Any help is highly appreciated.
Thanks & regards.
 
See griffindm's FAQ regarding prompts faq401-2137.


I am what I am based on the decisions I have made.

DoubleD [bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top