uemtux Posted September 9, 2011 Posted September 9, 2011 Hi Everyone, I've got a pretty standard setup of an order table and an orderlineitems table. I'm doing a print report which shows each order and the associated line items by finding a set of these line items, sorting by the orderid field, and then putting certain fields from the order (like order total, and customer name) into the subsummary. The order total is basically the dollar amounts of the line items added up plus taxes, shipping, and other fees. How can I do a grand summary of Order::Total when my report layout table is OrderLineItems ? I tried a calculation in the order lineitems table: GetSummary(Order::SumTotal ; OrderLineItems::OrderID) SumTotal is a Summary of Order::Total. But this doesn't appear to work! Can anyone educate me? Thanks!
comment Posted September 9, 2011 Posted September 9, 2011 What exactly do you mean by "grand summary of Order::Total"?
uemtux Posted September 9, 2011 Author Posted September 9, 2011 The report layout is an OrderLineItems table layout. I sort the OrderLineItems by OrderID which shows a leading-subsummary where I put fields from the ORDER table. One of the fields in the Order table is "Total" this field is a calculation that adds taxes and other fees to the total of the dollar amounts of the line items. What I want to do is have a total of Order::Total at the top of the report layout, either in a "Leading Grand Summary" layout part or in the header layout part.
comment Posted September 9, 2011 Posted September 9, 2011 See if this helps: http://fmforums.com/forum/topic/76482-sub-summary-problem/page__view__findpost__p__360007
Recommended Posts
This topic is 4917 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now