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

Add 'All groups' to parameter values list... 1

Status
Not open for further replies.

robmason10

Technical User
Apr 9, 2002
68
GB
I need to create a report based on department and want the user to be able to select multiple departments from a list of nearly 100 - but also want to add an 'ALL GROUPS' value that will do the lot in 1 go..

so something in select like...

if {?whichgroup?}= "ALL" then

xxxxxxxxxxxxxxxxxxxxxxxxx

else {grouptable.groupname} = {?Which Group?}

question is what do I put in the xxxxx area?

Thanks in advance
 
You are 99% of the way there. Try this:

If {?Parameter}=&quot;ALL&quot; then true else <<insert your normal record or group selection logic here>>

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top