Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR XI - Shading/color if duplicated

Status
Not open for further replies.

CRXIuser2005

Programmer
Sep 23, 2005
135
0
0
US
How do I color a field Both items...IF it is duplicated with the item above or below?

IF duplicated I would like to isolat those by shading or color.

Thx

Thank you.

MV

"A man is only as happy, as he makes up his mind to be....
 
Something like this for the background colour property:
If {YourTable.YourField} = Previous({YourTable.YourField})
then crYellow
else crNocolor

Bob Suruncle
 
thanks

Thank you.

MV

"A man is only as happy, as he makes up his mind to be....
 
If you want both records colored, try:

If {YourTable.YourField} = Previous({YourTable.YourField}) or
{YourTable.YourField} = Next({YourTable.YourField})
then crYellow
else crNocolor

-LB
 
I DO....thank you..

Thank you.

MV

"A man is only as happy, as he makes up his mind to be....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top