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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Highlight Duplicates - one last thing

Status
Not open for further replies.

Abner2

Technical User
Nov 14, 2002
12
US
It's working great except that the first address on the report and the last address on the report are highlighted even though neither address is duplcated. Any idea why or how to correct this?

Thanks again for all of your help!
 
Add to the formula the onfirstrecord and onlastrecord checks.

So the formula would be something like:

if onfirstrecord then
if next({Orders.Order Date}) = {Orders.Order Date} then
cryellow
else
crwhite
else
if onlastrecord then
if previous({Orders.Order Date}) = {Orders.Order Date} then
cryellow
else
crwhite
else
if previous({Orders.Order Date}) = {Orders.Order Date}
or
next({Orders.Order Date}) = {Orders.Order Date}
then
cryellow
else
crwhite

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top