|
You need to do a TEST(DE) on the field on the screen before moving it to a
DATE defined field.
Michael Schutte
Work 614-492-7419
email michael_schutte@xxxxxxxxxxxx
steema@diskhaven.
com
Sent by: To
midrange-l-bounce "Midrange Systems Technical
s@xxxxxxxxxxxx Discussion"
<midrange-l@xxxxxxxxxxxx>
cc
03/15/2006 11:21 rpg400-l@xxxxxxxxxxxx
AM Subject
RE: date validate
Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>
I am getting this error cond. C
Date, 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 this
D Datefield S D DATFMT(*ymd)
I move the date from the screen to Datefield. The date on screen is
defined as num. 6 00.
Then I do the TEST
c test datefield 22
c if *in22 = *on
c iter
c endif
Why doesn't the program logic kick in?
Thanks,
Steve
--
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 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.