Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Item in Cognos Report Studio

Status
Not open for further replies.

CognosTalk

Technical User
Apr 24, 2007
71
CA
Need to display a parameter date calendar, and by default make it as of yesterday date,(by default it always points to today) in the parameter date properties it is impossible to add, i am not so sure how to do it.
If i create a value prompt, then user cannot change it to calendar, in case and he wants to choose another date.
i downloaded some html tag, but it does not work.

this is the tag,
<script>
var today = new Date();
var first = new Date(today.getFullYear(), 0, 1);
var strYesterday = [today.getUTCFullYear(), first.getMonth()+1, first.getDate()].join("-");
genSelectDateHTML("txtDate", 'formWarpRequest', "Par_Date", 'XML', "", strYesterday, , 'Gregorian', 'editBox', 'editBox', , "", "", 1, RANGE_EQUAL_VALUE, true, false, false, false, false, false, "", "", "", "", "", "");
</script>

Does someone know HTML items and how it should work with prompts???
Thank you very much in advance,
MK

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top