If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

how to pass 1st value as default value in value prompt

Started by mrcool, 31 May 2007 10:51:10 AM

Previous topic - Next topic

mrcool

Hi Frnds,

              Iam using java script below to show the 1st value in prompt as default value.But the problem is
the script just shows r displays in thevalue prompt as def value....but its not passing that value to the parameter in the report.

<script>document.formWarpRequest._oLstChoicesP.selectedIndex = 2;</script>
This is the script am using...
Plz help me out frm this problem....
Thanks in advance

Mrcool

Desperado

document.forms["formWarpRequest"].elements["_oLstChoicesP"].selectedIndex = 2;
setTimeout('listBoxP.autoSubmit()', 100);

This is working :)

mrcool