× 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.



ISO dates and L-date fields are not the same thing.  You can use one, the 
other, both, or neither.  From what you describe I'd suspect you'd prefer to 
use the L-date field in your database and use regular 6-digit fields for the 
screens.  A move from *iso to or from *myd is not much coding, and it validates 
the date along the way.

What I did to figure this stuff out was to make a screen program with a couple 
of different kinds of entry fields and then a output fields of 6, 8, and 10 
columns, both alpha and numeric.  Then I wrote a program that took the keyed-in 
values and re-displayed them in all of the various display fields.  The program 
doesn't do much, so it is short and I could experiment until I'd figured out 
what was happening, where.  

To answer the 3 questions: yes, yes, no.

In <36E81521.23A17F10@gmdsolutions.com>, on 03/11/99 
   at 01:10 PM, Alison Herman <alison@gmdsolutions.com> said:

>Hello to all!

>I have looked thru the archives and could not find an answer so thought I
>would just ask.

>We have decided on all new developement to use ISO dates.  The programmer
>who is working on the first implementation of this has ran into some
>problems.  It is his contention that:

>1.  If you define a date with type L on the screen.  This field may not
>be left blank and the users must enter 0001-01-01.  

>2.  Doing a cpyf if the field is blank, it is initialized to the current
>date.

>3.  We will need to define dates on the screen a 8,0 and within the
>program do the date validation manually and handle 0 and 0001-01-01.  

>I guess if #3 is the way we need to go it will only take a couple of
>moves, a couple of ifs,  and a test statement.  Are there any other
>suggestions of how this is being handled.

>Thanks in advance.

>Alison Herman
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: david@midrange.com
>+---


-- 
-----------------------------------------------------------
boothm@ibm.net
Booth Martin
-----------------------------------------------------------

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.