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

Sort off of a calcultated field

Status
Not open for further replies.

GCL2007

IS-IT--Management
Dec 11, 2007
167
US
I have a report which totals Loss $ by item. The Loss $'s are calculated in a subreport and passed to the main report

In the main report, I use the below formula:
WHILEPRINTINGRECORDS;
NUMBERVAR LOSS_ITEM;

All is good with this - however, now I want to do a descending sort off this field to print the items with the greatest loss $ in descending order. Can't seem to make it work and was looking for an idea or two... Thanks
 
I'm assuming you meant:

shared numbervar loss_item.

You can't sort on a shared variable. Sorry.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top