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

Allow Multiple Values Parameter

Status
Not open for further replies.

LucyColey

Programmer
Apr 30, 2001
34
0
0
US
I have a parameter that Allows Multiple Values. When running in Crystal, I have no problems, but we are creating a web interface and I haven't been able to find ANYTHING that can tell me how these values should be passed into one parameter in the Crystal Report to be used in the Selection Formula. I'm assiming that it is just sent as an array, but does anyone know for certain?

Thanks!
 
here is how i do it from VB


CRrpt.ParameterFields.GetItemByName("Country").EnableMultipleValues = True
CRrpt.ParameterFields.GetItemByName("Country").AddCurrentValue "France"
CRrpt.ParameterFields.GetItemByName("Country").AddCurrentValue "USA"
CRrpt.ParameterFields.GetItemByName("Country").AddCurrentValue "Canada"

hope that helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top