Is it possible to compare the current value to that of the one above in the detail section of a report then change the color to red or something? Unless conditional formatting can do more than I know of, i don't think i can use that because the values in the fields could be different each time.
For my example i will use Yes and No, but this is not how it is in my report.
I want the field to be a different color if it is different than the record above it. I have gotten this to work by referencing the ID from the previous record, but i don't know how to just look at the record above it because it could have a different ID number. So as you can see in my example, the ID numbers are non-sequintial.
Thanks in advance!
For my example i will use Yes and No, but this is not how it is in my report.
Code:
ID Answer To Compare
1 YES
7 YES
10 [COLOR="Red"]NO[/COLOR]
14 NO
16 [COLOR="red"]YES[/COLOR]
17 [COLOR="red"]NO[/COLOR]
I want the field to be a different color if it is different than the record above it. I have gotten this to work by referencing the ID from the previous record, but i don't know how to just look at the record above it because it could have a different ID number. So as you can see in my example, the ID numbers are non-sequintial.
Thanks in advance!