Highlighting a Record based on criteria
Posted on 2004-08-17
Right now I have some criteria that will change the background color of an Item within a record. But right now it will change the color of all the items, no matter what record it is.
Here is what I need to do - I have 3 records displayed (with a scrollbar if more items exist) in a column style. Meaning that record 1 is column 1, and record 2 is column 2, etc. Right now I find if A>B then change the background color of Field1. This will change the color of Field1 in all the records:
SET_ITEM_PROPERTY('Field1', VISUAL_ATTRIBUTE, 'BACKGROUND_YELLOW');
I would like to change the color of all the items in Record1, but not in Record2. Can this be done? and if so can someone get me started on the right track?