COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: babu babu on 20 Apr 2010 04:02:08 AM

Title: Search & Select Prompt issue
Post by: babu babu on 20 Apr 2010 04:02:08 AM
Hi,
I am using the search & select prompt in my reports.when i run the reports it is taking the option ''starts with any of these key words''.But i need ''contains any of these keywords'' by default.How can i acheive this.Please give me the solution.

Thanks & Regards,
Babu.
Title: Re: Search & Select Prompt issue
Post by: fshahul on 20 Apr 2010 04:58:19 AM
Hi,
You may put this piece of code as an HTML Item somewhere towards the end of page

<html>
<script type="text/javascript">
<!--
//resize SSP (InternalClientNo prompt)
document.forms("formWarpRequest")._sws_SSP_matchAnywhere.value= 'true';
document.forms("formWarpRequest")._sws_SSP_matchAll.value= 'false';
document.forms("formWarpRequest").swsOptionSSP(2).checked=true;
// -->
</script>
</html>

SSP = Name

Thanks,
Fatima S.
Title: Re: Search & Select Prompt issue
Post by: babu babu on 20 Apr 2010 05:24:43 AM
Hi Fatima,
Thanks for your reply.I used this script by uisng html item in the prompt page.Still i am not geting the default selection.Please update me.

Thanks & Regards,
Babu.
Title: Re: Search & Select Prompt issue
Post by: MFGF on 20 Apr 2010 05:25:53 AM
What version of Cognos 8 are you using?

MF.
Title: Re: Search & Select Prompt issue
Post by: babu babu on 20 Apr 2010 05:30:07 AM
Cognos8.4