|
D Bryant Responded:
Is the CMDKY1 format overlaying line 23? Which is where the error
message
should appear. Play with it and see if this is what's happening. Have Fun! TGIF. No, CMDKY1 in fact overlays line 24, which is where the MSGLOC is. If
my problem is a combination of the output field on line 22, and the CMDKY1
format on lines 22-24, then I may be stuck. This particular display has
very little real estate left to play with. Thanks for all replies.
Hey All, I posted this once and got only one response which did not resolve my problem, so I will try one more time. I have a display file with a subfile. The control record (SFCTL1) has several I/O fields with ERRMSG's tied to them. The subfile (SFRCD1) has line items + prices. Beneath SFRCD1 is a format (CMDKY1) that has one O only field (the total of the item prices) and F keys available to the user. The records are displayed, input is edited. The problem is, the ERRMSG keywords do not function as they should. In fact, nothing happens. CMDKY1 is aware of the errors because the F key for update does not toggle on. If I comment-out the one O only field in the CMDKY1 format and run the program, the ERRMSG keywords work. The code is very simple: *in01 Doueq*ON WriteCMDKY1 ExfmtSFLCTL *in01 Ifne *ON Edit Input, etc. Can anyone explain what is going on here and how can I force those ERRMSG's to work? Keywords on SFLCT1 include OVERLAY & PUTOVR with OVRDTA's on the I/O fields. The CMDKY1 format has no record-level keywords. TIA |
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.