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

Problem choosing NULL from Parameter 1

Status
Not open for further replies.

MikeVac

Programmer
Oct 27, 2004
35
CA
I have a multi parameter window. I want one of the values in the pick lists to be null so that users have the choice to say where this particular field is null. I have tried using a * and "" but it won't bring back any records.
Any suggestions
 
Hi,
Add a parameter value ( like 'ANY' ) and test for it in your record selection formula, like:
Code:
If {?Parameter} = 'ANY'
then
IsNull({table_field})
Else
[table-field} = {?parameter}





[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Hi,
Thanks, but I should have recommended a more informative parameter value like 'OnlyIfNull' to help your users understand what they were choosing.





[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
I changed the parameter value to EMPTY. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top