Just a wild shot in the dark, but are you perhaps using INDARA in your DSPF DDS, and then using INDDS(My_DspInd) to map the indicator area? Make sure that you have an entry for the display indicator in your Indicator DS.
Eric
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Pete Helgren
Sent: Friday, October 19, 2007 11:10 AM
To: RPG programming on the AS400 / iSeries
Subject: Indicators on a Window
I am a little stumped here. I have a window that pops up and displays
some fields that can be edited. I also wanted to protect the fields in
some cases and in other cases change color or hide the fields. I added
display attributes conditioned on indicators in the dds and tested it
while using SEU (normally would use WDSc here but I am on a box without
the requisite PTF's). Anyway, in SEU, when I set the indicator on, a
field that is supposed to be hidden IS hidden. When I run the program
that displays the window, the indicator is on (I can see it in debug)
but the field still displays. It must be something in my DDS. Is there
a trick when using Window that is different than a "regular" screen
format in DDS? Snippets of DDS for here:
http://code.midrange.com/2965d7b14c.html
I am missing something basic, I think. What is it?
Thanks
Pete
As an Amazon Associate we earn from qualifying purchases.