|
Date: 6/26/97 6:41 PM RE: Re: ERRMSG Keyword in display files.... Mr. Prakash While I agree with Mr. Blawson's assumptions and conclusions, I believe in the long run you would be much better served by using an Error Message subfile. It has many, many advantages over ERRMSG keyword including not causing the problem you now see. John Carr CDP EdgeTech >If I understand you correctly, you are redisplaying a screen after changing >some data in your program and the changes are not reflected on screen. >The problem is that the ERRMSG keyword also implies a PUTRETAIN keyword. >Therefor the input fields are not disturbed. Depending upon you >application, you may be able to get around this problem with the following >sequuence: > WRITE RCDFMT > SETON ERRMSG Indicators > EXFMT RCDFMT >This will cause the fields to be updated on the screen. >No warranty is expressed or implied without seeing the rest of the code ;). > blawson@m1.interserv.com At 10:16 PM 6/26/97 +0500, you wrote: >>Hi, >> I've got some date fields on display record defined as numeric length >8,0. >>The user enters a 6-Digit(Without Century) date in these fields. Now I've >>got to validate these dates and redisplay them as 8-Digits(With Century). >>If there is any error in one of these dates I'm setting on the appropriate >>ERRMSG indicator. <SNIP> >> If I've got to update the values in the date fields in display which >>aren't having errors what am I supposed to do. >> This may be silly but anyway please help me out... >>TIA >>Regards, >>Prakash. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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-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.