Hi ,
I am a pro at plsql but have been given to code in javascript for a small requirement which is as follows. Name of the report :Open Calls report PARAMETERS Country code, Date Range , Incident Status and Incident Type
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
Last edited by Kor; 05-26-2010 at 01:44 PM.
Reason: wrap the code [code][/code] or # editor's button on selection
Insufficient data. Either post the whole code, HTML included (it is essential, as JavaScript acts over HTML elements) or better post a link to a test page. And give us, please, more details.
Bookmarks