Hello!
I am working with Crystal 8.5 and in one of my reports I'm trying to compare a value in a specific column against the other values in the same column. If the value is unique then I want to shade that row otherwise I want to do nothing. Example: I am looking at a column called Med_Rec and within that column I want to compare the current focus med rec number with the entire Med_Rec Column and continue this until every med rec num has been checked against one another in the report.
Here is the code I have now and nothing is happening:
If {vst_v.vst_med_rec_no} <> {vst_v.vst_med_rec_no} then crYellow
Else crNoColor
Any suggestions?
I am working with Crystal 8.5 and in one of my reports I'm trying to compare a value in a specific column against the other values in the same column. If the value is unique then I want to shade that row otherwise I want to do nothing. Example: I am looking at a column called Med_Rec and within that column I want to compare the current focus med rec number with the entire Med_Rec Column and continue this until every med rec num has been checked against one another in the report.
Here is the code I have now and nothing is happening:
If {vst_v.vst_med_rec_no} <> {vst_v.vst_med_rec_no} then crYellow
Else crNoColor
Any suggestions?