|
I agree with Jon on this. But what I've seen is that "entry programs" tend to allow the user to input only the 2-digit year, and then instantly convert it to a 4-digit year when the cursor leaves the input field. This seems to be _the way_ users are going to expect this to work. I hope the DDS guys are providing something like this!!!!!!! Of course the end-user can always enter the full 4-digit year if they want, but the user only has to enter something like this 091197 and the program translates it on the screen, instantly to 09/11/1997 I saw this today in action. It's pretty nice. Bob Cozzi Bob@RPGIV.COM www.rpgiv.com AS/400 Books: http://www.rpgiv.com/as400Books.html On Thursday, September 11, 1997 9:18 AM, Jon Paris - jonp@vnet.ibm.com - AS/400 AD [SMTP:jonp@vnet.IBM.COM] wrote: > >Display and printer file DDS currently do not support date, time, or > >timestamp data types. You have to define a character or numeric field > >onthe sceen and use the MOVE op code to move the date, time, or > >timestamp field from the file to the character or numeric field on the > >screen. > > > I prefer to define the date fields in a DS and then use the OVERLAY > keyword to place the character field over them, thus avoiding the move. > Of course in many cases the user is not going to want to see a full 4 > digit year on the screen anyway, so a move from the 4 digit year date > (we are all going to be using full dates aren't we ;-) to the screen > would be needed anyway. > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". > | To unsubscribe from this list send email to MAJORDOMO@midrange.com > | and specify 'unsubscribe MIDRANGE-L' in the body of your message. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.