dynamic parameter based on Scripted data set [message #1052009] |
Mon, 29 April 2013 10:01  |
Eclipse User |
|
|
|
Hi, I have scripted data set which define one of parameters for report -
based on array containing parameter name, description and SQL modifier
for main query.
Scripted data set is working and is usable in layout.
How to populate parameter from scripted data set?
Thanks
Jaroslav
|
|
|
|
Re: dynamic parameter based on Scripted data set [message #1053264 is a reply to message #1053193] |
Fri, 03 May 2013 08:54  |
Eclipse User |
|
|
|
Thanks Michael, you are right. Currently I have located data on both
places; I need it for
1) populate parameter (array located in "on open" method of parameter
dataset)
2) use for modifying SQL in another dataset / beforeOpen (array located
in "initialize" method)
3) use for displaying of descriptive text of parameter (array located in
"initialize" method )
(Not mentioned in example report, my parameter is multi-select)
Exists concept to have array on one place (not in external file)?
Regards
Jaroslav
Dne 3.5.2013 6:59, Michael Williams napsal(a):
> If you define the data in the open method of the dataSet, it'll work.
> In the example you posted, if you move the script from the initialize
> method to the open method, it populates the parameter.
|
|
|
Powered by
FUDForum. Page generated in 0.26503 seconds