CharlieT302
Instructor
Hi All,
I need to perform Excel-like conditional formatting. If a field value changes from the previous record, I need the field to display in a color. If the value is unchanged, no formatting is applied. Conditional formatting (Access 2007 and earlier) does not provide this feature.
I thought, however, I could create an additional calculated field in the query (or even on the form itself) that would compare the target field to the same one on the previous row.
If changed, the calculated field could display the value: 1. If the value is the same, display a zero. I could then base my conditional format on this calculated value. Ex: If 1, change background color. Otherwise, do not.
The actual field value is irrelevant. The only thing of importance is whether it is the same as the row above it. Open to suggestions. The simpler, the better.
Any ideas?
I need to perform Excel-like conditional formatting. If a field value changes from the previous record, I need the field to display in a color. If the value is unchanged, no formatting is applied. Conditional formatting (Access 2007 and earlier) does not provide this feature.
I thought, however, I could create an additional calculated field in the query (or even on the form itself) that would compare the target field to the same one on the previous row.
If changed, the calculated field could display the value: 1. If the value is the same, display a zero. I could then base my conditional format on this calculated value. Ex: If 1, change background color. Otherwise, do not.
The actual field value is irrelevant. The only thing of importance is whether it is the same as the row above it. Open to suggestions. The simpler, the better.
Any ideas?