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



No, Just type the date "31506" and the display will redisplay "03/15/06" 

One other thing with display dates and times, you can use the MAPVAL DDS
option which will display as blanks when the field value is equal.

A                                      MAPVAL(('01/01/0001' *BLANK))

I have not used it with the 6 char date formats but I would play with the
mapval until you are satisfied.

Duane Christen

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of
Michael_Schutte@xxxxxxxxxxxx
Sent: Wednesday, March 15, 2006 1:02 PM
To: Midrange Systems Technical Discussion
Subject: RE: date validate


geez, my sentence structure is pitiful today.  :-)   Correction

<<Ok fine, but ISN'T the user now required to add in the seperators?>>

Michael Schutte
Work 614-492-7419
email  michael_schutte@xxxxxxxxxxxx


                                                                           
             Michael_Schutte@b                                             
             obevans.com                                                   
             Sent by:                                                   To 
             midrange-l-bounce         Midrange Systems Technical          
             s@xxxxxxxxxxxx            Discussion                          
                                       <midrange-l@xxxxxxxxxxxx>           
                                                                        cc 
             03/15/2006 01:57                                              
             PM                                                    Subject 
                                       RE: date validate                   
                                                                           
             Please respond to                                             
             Midrange Systems                                              
                 Technical                                                 
                Discussion                                                 
             <midrange-l@midra                                             
                 nge.com>                                                  
                                                                           
                                                                           




Ok fine, but it's the user now required to add in the seperators?

Michael Schutte
Work 614-492-7419
email  michael_schutte@xxxxxxxxxxxx



             "Christen, Duane
             J."
             <dchristen@mcleod                                          To
             usa.com>                  "'Midrange Systems Technical
             Sent by:                  Discussion'"
             midrange-l-bounce         <midrange-l@xxxxxxxxxxxx>
             s@xxxxxxxxxxxx                                             cc

                                                                   Subject
             03/15/2006 12:53          RE: date validate
             PM


             Please respond to
             Midrange Systems
                 Technical
                Discussion
             <midrange-l@midra
                 nge.com>






Yes you can. You have to do the DDS by hand. I usually stick a 6/8 char
field where I want the date then edit the DDS. The result should look
something like:

A                        DATE                    L  B  1  2DATFMT(*MDY)

Data type of "L"

Duane Christen

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of
Michael_Schutte@xxxxxxxxxxxx
Sent: Wednesday, March 15, 2006 11:25 AM
To: Midrange Systems Technical Discussion
Subject: RE: date validate


because you can't define a date field only in a DSPF, but you can define a
timestamp.  It's just easy to define a 6, 0 numeric field and apply and
EDIT CODE to it.

Michael Schutte
Work 614-492-7419
email  michael_schutte@xxxxxxxxxxxx



             "kempenich"
             <kempej01@xxxxxxx
             om>                                                        To
             Sent by:                  midrange-l@xxxxxxxxxxxx
             midrange-l-bounce                                          cc
             s@xxxxxxxxxxxx
                                                                   Subject
                                       RE: date validate
             03/15/2006 11:38
             AM


             Please respond to
             Midrange Systems
                 Technical
                Discussion
             <midrange-l@midra
                 nge.com>






 Why not define the screen field as a date field? Joe--- On Wed 03/15, &lt;
steema@xxxxxxxxxxxxx &gt; wrote:From: [mailto: steema@xxxxxxxxxxxxx]To:
midrange-l@xxxxxxxxxxxxxx: rpg400-l@xxxxxxxxxxxxxxxx: Wed, 15 Mar 2006
09:21:11 -0700 (MST)Subject: RE: date validateI am getting this error cond.
CDate, Time or Timestamp value is not valid (C G D F).Type reply, press
Enter.Reply . . .iow, it breaks up the screen, rather than letting my
program handle it.I defined thisD Datefield S D DATFMT(*ymd)I move the date
from the screen to Datefield. The date on screen isdefined as num. 6
00.Then I do the TESTc test datefield 22c if *in22 = *onc iterc endifWhy
doesn't the program logic kick in?Thanks,Steve-- This is the Midrange
Systems Technical Discussion (MIDRANGE-L) mailing listTo post a message
email: MIDRANGE-L@xxxxxxxxxxxxxx subscribe, unsubscribe, or change list
options,visit: http://lists.midrange.com/mailman/listinfo/midrange-lor
email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
posting, please take a moment to review the archivesat
http://archive.midrange.com/midrange-l.

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named.  Any use, copying
or disclosure by any other person is strictly prohibited. If you have
received this transmission in error, please notify the sender via e-mail.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.