|
CPF9898 &1.
I think maybe the message is being sent, but you didn't populate the text.
On Tue, Sep 10, 2013 at 1:16 AM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>wrote:
Man, it's been forever since I dealt with edit-in-place subfiles!
OK, I've dug through the DDS docs and rummaged through Google hits - no
good answer yet.
I have a couple fields in a subfile record that I want to validate -
let's say one has a RANGE or VALUES. I know I'm not supposed to use
ERRMSG or ERRMSGID on a subfile field.
But I found nothing that said I couldn't put CHKMSGID in a subfile
record - I had done it on a regular record, and it works fine.
I don't remember if I put it in the SFL or the SFLCTL record - what I'm
getting is only a period on the message line. I'm using the CPF9898
message and specifiying a program-to-system variable.
OK, so the other scenario is one where I validate a numeric that is a
date - this is old code, folks! I assume SFLMSG or SFLMSGID is the way
to go, and I see that I have to manage RI and PC. Exercise for tomorrow.
Main question is the CHKMSGID in the context of a subfile.
Thx
Vern
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.