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

How to fix Repeat? 1

Status
Not open for further replies.

bv0719

MIS
Dec 19, 2002
131
US
Hello... Having a problem with duplicate records. Found a post referrencing the use of the "previous" command to verify duplicates. I added this formula:

if previous ({cusmas.c_cid}) = ({cusmas.c_cid})
then "repeat" else
{cusmas.c_cid}

to the details section of my report along with another statement to show true/false.

{@pre} = "repeat"

How can I select on the true/false result? Since all data is in the details section this becomes an evaluation time problem. Any thoughts?

Thanks,
BV
 
Disregard... I figured it out. Had to use the Section expert to supress based on the formula result.

BV
 
So you want to suppress the details section if the data was already displayed?

Just use the formula
Code:
previous ({cusmas.c_cid}) = ({cusmas.c_cid})
in the section expert at the details, suppress formula box.

If the outcome is true the details will be suppressed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top