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

Report showing random records that are 10% of total records 1

Status
Not open for further replies.

sdzlkds

Technical User
Oct 20, 2005
41
GB
Crystal 10 user

I've used the advice from Ibass below to create a report showing a random 10 records, however, the requirement has now changed to "report showing a random 10% of all records (or 10 actual records depending on what is higher)"

I;d be grateful for any advice on whether this is do-able

Thanks

lbass (TechnicalUser) 7 Oct 08 12:43
Create a formula:

rnd()

Add this to your detail section and to report->sort records. Then use a detail suppression formula like this:

recordnumber > 20

-LB
 
recordnumber > maximum([10,.1*count({table.recurringrecord})])

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top