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!

Summary field or shared variable summary in record selection

Status
Not open for further replies.

huddy33

Technical User
Jan 24, 2011
24
US
I have a report that's main purpose is to show events with a spend >$200k OR attendance over 60 ppl. The attendance portion is no problem, but the spend is stored in a different table in multiple rows per event so I need to sum it first. I've tried a simple summary field, displaying in the event ID header, which returns the correct value, but isn't available to me in the record selector. I also tried a shared currencyvar in a subreport and passed it to the main report displaying in the details section. It displays correctly but is also unavailable in the record selector. Can anyone help with info on what to try next or what to mod on the other options I've tried? Thanks. I'm in crystal v10.
 
Use the Group Selection formula rather than the Record Selection formula.

Assuming you are grouping by {Table.Event}, something like this should work:

Code:
Sum({Table.Spend},{Table.Event}) > 200000

Cheers
Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top