|
I need to allow the users to enter any of the following values as avalid
date type on a display file:anything
010108 // Six digit date
20080101 // eight digit ISO date type
01012008 // eight digit USA date type
01/01/2008 // ten digit USA date type
I thought I could check the length of the field coming in, so if
is other than 6,8, or 10 it is automatically an invalid date...that part
is easy......10a
I wanted to check for a valid date value with the TEST(DE) but it seems
that will not work either since even though 010108 is tested as
TEST(DE) *MDY DateField;
It generates an error...which I am assuming is because the field is a
and not a 6,0.
So I would need to check and make sure that it is also numeric for the 6
and 8 digit entries correct?confidential
I know, it sounds crazy, but that is what I have been instructed to
do......
This transmission may contain information that is privileged,
and/or exempt from disclosure under applicable law. If you are not thecopying,
intended recipient, you are hereby notified that any disclosure,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.5/14/2008 7:49 AM
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.23.16/1432 - Release Date:
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.