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

date comparision

Started by EArumugam, 27 Oct 2009 06:58:43 AM

Previous topic - Next topic

EArumugam

I need to compare my From date and to date prompt

If from date >to date then alert messeage will show.

PLease share if anybody having Javascript

Thanks

david.stachon

...hopefully, you are using "in_range" as opposed to two different date prompts?

dattu

hi,
we can use java script inside HTML item inorder to display alert.
example

<script language="Javascript">
<!--
alert ("Entered From Date is greater than to date")
//-->
</script>

use boolean variables.if from date is greater than todate then use the above code.

hope this will help u.
:)