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

Parameter Entry is Null then Show ALL Data

Status
Not open for further replies.

rwn

Technical User
Dec 14, 2002
420
US
I have a field called {SOHeader.JobNumber}(this field is a string) and wish to have a parameter control this field. So the parameter would be {?JobNumber}. However, when the report runs and the user does not enter in a Job Number in the {?JobNumber} parameter, then the report should show all Job Numbers.

Thank for any advise?
 
Hi,
Create a default value like 'ALL' and test for it:
Code:
If {?JobNumber} = 'ALL' then
True
Else
{SOHeader.JobNumber}= {?JobNumber}



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Oh, so simple. Thank you!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top