|
Try specifiying MSGLOC(24) and ERRSFL. Messages are displayed using a system-supplied error subfile. Note if the message line overlaps a record already displayed on the screen, the ERRSFL keyword is ignored. dbryant@banpharm.com on 03/31/2000 05:09:27 PM Please respond to MIDRANGE-L@midrange.com To: MIDRANGE-L@midrange.com cc: (bcc: Paula Ewald/GENOFFICE/TEXAS/GLAZER) Subject: Re: ERRMSG Problem 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. |--------+--------------------------> | | "Buzz Fenner" | | | <bfenner@jonesbo| | | rocwl.org> | | | | | | 03/31/2000 05:20| | | PM | | | Please respond | | | to MIDRANGE-L | | | | |--------+--------------------------> >--------------------------------------------------------| | | | To: "Midrange Discussion" | | <Midrange-L@midrange.com> | | cc: (bcc: Darlene H Bryant/Banpharm) | | Subject: ERRMSG Problem | >--------------------------------------------------------| 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 Buzz Fenner bfenner@jonesborocwl.org
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.