Hi, i am having trouble passing values from the Reportfilter() function in my hyperlinks.
Here's my situation:
1) For example My report has 4 Input Controls. Example:(Country, State, County, Zipcode). I am using the Multi-Pick Combo Box as the Input control.
2) My hyperlink to detail report is like below:
Code: |
="<ahref=http:/OpenDocument/opendoc/openDocument.jsp?&iDocID=asdhlksdsdsdd55fjggjjk8&sIDType=CUID&sType=wid&sRefresh=Y&lsM"+URLEncode("Country")+"="+URLEncode(ReportFilter([Country]))+"lsM"+URLEncode("State")+"="+URLEncode(ReportFilter([State]))+URLEncode("County")+"="+URLEncode(ReportFilter([County]))+URLEncode("Zip Code")+"="+URLEncode(ReportFilter([Zipcode]))+">"+[XYZ]+"</a>" |
3) The problem i am facing is that whenever the User picks say only "1 country" (let's say USA) from the "Country Input control"; and does not touch any other Input controls,
here's what happens:
a) ReportFilter([State]) = AL,AR, AK,CA, CT and so on ........WY
b) ReportFilter([County]) = Bullock, Butler, calhoun, chambers, cherokee....many more
c) ReportFilter([Zipcode]) = 08898,99008, 88776, 66554, 33332, 22223 many more
Looks like the ReportFilter() function is dynamic and based on the other Input control selections(like country), its cascading those values automatically which is exactly my problem.
So with so many values in my hyperlink, my hyperlink is breaking and showing#OVERFLOWerrors. (Also my URL to detail report HUGE and is having many values.)
Question:
Is there any way to pass just the values of the Input control that is picked. For example, if Country = USA is picked in Input controls, then hyperlink should only pass
country = USA , and should not pass any values to the prompts in the Detail report. This would solve all my problems.
In other words, the ReportFilter() function should return only the values of Input control that is picked and not cascade the other values.?
Environment: WebI XI 3.1 SP6
Please Advise.