-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Girdhar77
Message 2 in Discussion
Hi Velu
I am giving you a hint from waht I undersatnd from your problem.
you said that the dateformat is stored in the database,right.
*Use regular expression validator.
1. read the format from the database, the datatype of it is obviuosly be a
string.
'mdy' for example.
write switch case statement like
if(dateformat == 'mdy') then
{ str1 = 'equivqlent regr. exp.'}
if (dateformat == 'dmy') then
{str1 = 'equivalent regular exp'}
assign the value of str1 to the ValidationExpression property of the regular
expression validator.
rishi
-----Original Message-----
From: Velu [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 2:40 PM
To: BDOTNET
Subject: Date format and compare validator
-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Velu
Message 1 in Discussion
Hi,
Date format for my application is stored in the database. (dmy or mdy).
This is configurable while installing the application,
Based on this format date validations and display through out my application
should function.
I have used compare validators for validating dates.
My compare validations should be based on the settings in the database. What
should i do for this.
Any one pls guide me, urgent..
Velu
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your
E-mail Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On
the pre-addressed e-mail message that opens, simply click "Send". Your
e-mail address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]