Field colours in a subfile in a window (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Field colours in a subfile in a window
|
|
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
It would help if you could post what it is that is "not working" <p>What exactly happens when<ul><tt> <BR>
<li> 31 n32 n33 <BR>
<li>n31 32 n33 <BR>
<li>n31 n32 33 <BR>
<li>n31 n32 n33 <BR>
<li> 31 32 n33 <BR>
<li>n31 32 33 <BR>
<li> 31 n32 33 <BR>
<li> 31 32 33</tt></ul><br> <p>Dave
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kitvb1 (User)
Fresh Boarder
Posts: 15
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
Hi Dave <p>All the lines stay green. All I'm trying to do is display the relevant status of a record in a different colour on a search pop-up window. i.e. if the record is active-yellow, if deleted-red. Theoretically simple ;) <p>Regards <p>Kit <p><!--mccodelink_begin--> <BR>
<!-- do not remove --> <BR>
<hr width=50 align=left><small><a href='http://www.mcpressonline.com/mc/showcode@@.6b509ed7/1' target='_blank'>Code</a></small> <BR>
<!--mccodelink_end-->
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
Have you tried setting on the SFLNXTCHG keyword with each write? <p>Dave
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
J.Pluta (User)
Platinum Boarder
Posts: 2712
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
Do you have a PUTOVR in the display file? <p>Joe
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
is it possible that two or more indicators are *on at the same time, and negate each other? <p>also, are you certain the indicators are on when you WRITE EACH record and are then turned off before the next WRITE op? <p>-Sarge
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kitvb1 (User)
Fresh Boarder
Posts: 15
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
First... thanks for the replies all. <p>Dave.. no - haven't tried, will try. <BR>
Joe... no - should I? none of my others have it but i haven't set them for colour yet but want to. There are about 10 search pgms so far each with a different file and fields. <BR>
Sarge... no - the RPG code above is the only time the ind's are used in the pgm. <p>Regards <p>Kit
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kitvb1 (User)
Fresh Boarder
Posts: 15
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
I do use colour in another subfile DSPF, but: <BR>
1. it is not in a window <BR>
2. it does not use SFLCHCCTL <BR>
3. it does not have SFLSNGCHC(*RSTCSR) <BR>
4. it only has 1 colour per field <p>regards <p>Kit
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
J.Pluta (User)
Platinum Boarder
Posts: 2712
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
Nope, don't use it if you don't need it. PUTOVR was a great feature in the days of slow connection speeds, but it's probably overkill these days. PUTOVR sometimes caused the symptoms you are seeing, but since you don't use it don't worry about it. <p>Joe
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kitvb1 (User)
Fresh Boarder
Posts: 15
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
I believe I may have found the problem... to cut a long story short... I started changing my DSPF's to use INDARA. However, the program has not been changed to cater for this. The DSPF indicator area then is not set for the colours. <BR>
sidebar... I have noticed some strange when using INDARA with certain other keywords. <p>Regards <p>Kit
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
I know you got it with the INDARA keyword, but another way to pull it off with less hassle (IMHO) is to use program to system field for these things. <BR>
I have several programs where I do that, instead of using multiple indicators (which, by the way, I also do - no smacking!) <p><!--mccodelink_begin--> <BR>
<!-- do not remove --> <BR>
<hr width=50 align=left><small><a href='http://www.mcpressonline.com/mc/showcode@@.6b509ed7/9' target='_blank'>Code</a></small> <BR>
<!--mccodelink_end-->
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kitvb1 (User)
Fresh Boarder
Posts: 15
|
|
Field colours in a subfile in a window 1 Year, 4 Months ago
|
Karma: 0
|
|
Hi all, <p>I'm battling to get the colours working in the above/below scenario. Colours work on other files when not in the above combination. Is this normal or am I just not the sharpest knife in the drawer? I've pasted the relevant DSPF formats. (and if anyone tells me I shouldn't be using indacators in display files, I'm gonna smack them :) ) <p>Regards <BR>
Kit <p><!--mccodelink_begin--> <BR>
<!-- do not remove --> <BR>
<hr width=50 align=left><small><a href='http://www.mcpressonline.com/mc/showcode@@.6b509ed7' target='_blank'>Code</a></small> <BR>
<!--mccodelink_end-->
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|