|
Why not define the screen field as a date field? Joe--- On Wed 03/15, < steema@xxxxxxxxxxxxx > 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
As an Amazon Associate we earn from qualifying purchases.
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.