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

Parameter Inputs

Status
Not open for further replies.

M8KWR

Programmer
Aug 18, 2004
864
GB
i need a report so the user can select multiple options against 1 field. I have a field called Lead_Code. In here there can be multiple options a user can enter into the database (App, A, B, C, D, E, X).

I want the user to be able to select the lead codes they want to preview in the report, without having to do a parameter options for each lead code. Is this possible??

I thought about doing a >= [value1] and <= [value2] but if the user wanted A and B, the APP leads codes would also be previewed.

I hope i have explained myself ok, and many thanks for any help in advance.

 
When you create you parameter field check the option for Multiple Values. The user can then just add to a list of values they want.
 
As Lupins46 indicates, you can make a paramter a mulit-value field. Then in the record selection formula, you do this:

{YourDatabaseField} in {?YourMutilvalueParmater}

To display the list of values picked by the user, create a formula using the join function, and place this in the page header:

Join({?MultivalueParameter},",")



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

Part and Inventory Search

Sponsor

Back
Top