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!

Sum field in detail section - is this possible?

Status
Not open for further replies.

Corinne

Programmer
May 15, 2001
146
US
Can anyone help me do something that I thougt would be very simple? I need to have the data show as in the example below:
Detail Section:
Item Count Item Price (Cost of item which is not shown)
2 20.00 10.00
1 10.00 10.00
3 15.00 5.00

Group Footer:
6 45.00

My problem is when the item count is greater than 1 how do I get the extended values into the Item Price column? Currently I have a sum field in the group footer that does calculate correctly:

Detail Section:
2 10.00 10.00
1 10.00 10.00
3 5.00 5.00

Group Footer:
6 45.00


Thanks to anyone that can point me in the right direction.

Corinne
 
You can create a formula like this:

@ExtendedPrice

{Table.ItemCount} * {Table.ItemPrice} //replace with your own field.

Place this formula in the details section.

Hope this helps!

Kchaudhry
 
I don't think I really understand your problem. have you created a formula which does Item Count x Cost of item? What does that show if you put it in the details section?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top