Problem solve Get help with specific problems with your technologies, process and projects.

Coloring condition fields in a subfile

Try this method of coloring condition fields in a subfile.

I've found a better way to work with coloring condition field. I make the SFL field one character longer than normal, and move a hex attribute for the required color into the first position of the field. Now, this is obviously not feasible with numeric fields but it works very well for character fields and it removes the need to track the color on the field (indicators are always reset when reading 'C' to a subfile.) If you really need to use this technique with a numeric field, make the SFL field character and then use the API to edit the field into a 'numeric' format.

Dig Deeper on iSeries programming commands

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.