Hi ,
I am a pro at plsql but have been given to code in javascript for a small requirement which is as follows.
[B]Name of the report
[B]PARAMETERS
For the report .If we are not filtering out certain parameters the parameters page should just have ‘All’ instead of listing all the values. For example, if we run the report and don’t choose a country, it will run the report for all countries. The parameters page should say all “Country Code: ALL” and not Country Code: CA,CH,CZ,FR,DE,US etc.
I need to add the above req in following code :
[code]
function AddValueToSelectedList(p_LimitVal, p_BHasCodeCol, p_SectionObj)
{
var l_LimitVal = p_LimitVal;
if(p_BHasCodeCol)
{
var l_StartIdxOfCode = l_LimitVal.lastIndexOf(” “) + 1;
l_LimitVal = l_LimitVal.substr(l_StartIdxOfCode);
}
with(p_SectionObj)
{
Limits[Limits.Count].SelectedValues.Add(l_LimitVal);
}
}
How to achieve this ?
Thanks