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

Parameter Field or Formula?

Status
Not open for further replies.

ralphcow

MIS
Jun 20, 2001
3
US
I'm using a report that allows me to view the job cost data by selecting the job as a parameter field.

Is there a way to use the same report to view all the jobs or any job selected without individually selecting each job? Basically, I'm looking to have the default print data for all jobs unless a specific job is selected.

Thanks!
 
One way of doing it is to determine an input that will never be used. For example: if the field is a numeric and you know that 0 can never be a job number then set the default value for your parameter to 0. In your record selection formula check to see if the parameter is 0. If it is then set your record selection to show all. If not then the record selection will be equal to the paramter.

Something like this:

if {?Parameter} = 0 then jobid = jobid else jobid = {?Parameter}

I hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top