× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I don't think so, but I use the following method to validate:

For format YYYYMM:

TEST(D E) *ISO ( 100 * YearMo + 01 ) ;
If %Error ;

Or for format MMYYYY:

TEST(D E) *EUR ( MoYear + 01000000 ) ;
If %Error ;

Two digit date MMYY:

TEST(D E) *DMY ( MoYr + 10000 ) ;
If %Error ;

etc.

--Alan


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Doug Palme
Sent: Monday, December 29, 2008 4:56 PM
To: RPG Midrange L
Subject: Month year date

We have expiration dates that we will be having clerks enter into our
system. I do not want them entering days because its not important.
I
only need them to enter month / year. Is there a way to actually
have a
date data type on a display file that will allow a month / year
entry....if it wants to default to the last day of the month, fine
but I
only want to display month / year.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.