Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Anyone using SNGCHCFLD?

617 views
Skip to first unread message

ra...@my-deja.com

unread,
Dec 24, 1999, 3:00:00 AM12/24/99
to
Hi all,

I'm using two SNGCHCFLDs on one display format. When the user clicks on
a choice, the program returns only the correct value of the last
modified SNGCHCFLD. Even when the two SNGCHCFLDs have changed.

Is this the way it is supposed to be? Or is it a bug? Anyone have any
suggestions? (using JAVA as a GUI is not an option :-)

TIA
Jan


Sent via Deja.com http://www.deja.com/
Before you buy.

Worley Barry

unread,
Dec 26, 1999, 3:00:00 AM12/26/99
to
On Fri, 24 Dec 1999 13:43:36 GMT, ra...@my-deja.com wrote:

>Hi all,
>
>I'm using two SNGCHCFLDs on one display format. When the user clicks on
>a choice, the program returns only the correct value of the last
>modified SNGCHCFLD. Even when the two SNGCHCFLDs have changed.
>
>Is this the way it is supposed to be? Or is it a bug? Anyone have any
>suggestions? (using JAVA as a GUI is not an option :-)
>

Well, I've got 2 multiple choice and 5 single choice fields
on the same record format on V4R1M0 and they work fine for me.
I can select with 'space bar' or click with mouse. on any or all
fields and the proper selections are passed to the program.
Here's the DDS for two of the single choice fields.

0179.00 A HLDJOB 2Y 0B 12 25SNGCHCFLD((*NUMCOL 2) (*GUTTER 4) + 970720
0180.00 A *SLTIND *AUTOSLT *RSTCSR) 970721
0181.00 A CHCAVAIL((*COLOR TRQ)) 970723
0182.00 A CHCUNAVAIL((*DSPATR ND)) 970723
0183.00 A CHANGE(35) 970721
0184.00 A 35 DSPATR(PC) 970721
0185.00 A DSPATR(CS) 970720
0186.00 A CHOICE(1 '>Yes') 970720
0187.00 A CHOICE(2 '>No') 970720
0188.00 A APYJRN 2Y 0B 14 25SNGCHCFLD(*AUTOSLT (*NUMCOL 2) + 970720
0189.00 A (*GUTTER 4) *AUTOENT *RSTCSR) 970721
0190.00 A CHCAVAIL((*COLOR TRQ)) 970723
0191.00 A CHCUNAVAIL((*DSPATR ND)) 970723
0192.00 A CHANGE(36) 970721
0193.00 A 36 DSPATR(PC RI) 970721
0194.00 A DSPATR(CS) 970720
0195.00 A CHOICE(1 '>Yes') 970720
0196.00 A CHOICE(2 '>No') 970720

Regards, worley


ra...@my-deja.com

unread,
Dec 27, 1999, 3:00:00 AM12/27/99
to
In article <846g3...@news2.newsguy.com>,
Worley Barry <wor...@databasics.hurst.tx.us> wrote:


Thanks for the example Barry, but it didn't work either. If I clicked
(with the mouse) on the first choice-field, then on the second
choice-field and again on the first (other value) theen the value of the
second field was not correct. After many trial and error I found that
the OVRDTA keyword worked fine.

Thanks anyway,

0 new messages