Wrox Programmer Forums
|
BOOK: Beginning InfoPath 2003
This is the forum to discuss the Wrox book Beginning InfoPath 2003 by F. Scott Barker; ISBN: 9780764579486
ISBN: 0-7645-7948-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning InfoPath 2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2006, 04:53 PM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sum the calculated value - Chapter 7

In the example in Chapter 7 [page 104] we walk through adding an expression that is a calculated value on the line-item. The expression we calculate is (Unit Price * Quantity) - (Unit Price * Quantity * Discount). We put it in the Item Total field and it appears once for each line [Product ID] in the table.

There is a footer on the repeating table and a label for "Total:" but I do not see where Scott describes how to add a Sum() for the calculated value. I searched the help for InfoPath and it appears to skip past this as well. As far as I can tell the correct way to do this would be to have a LineTotal field in the table, drop a textbox on the InfoPath form for this field and set it's default value to be calculated and read-only. Then create a sum based on it.

Is this correct or am I totally missing the super-easy way to sum up a calculated field?

James C.
[email protected]






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Running Sum (or Cumulative Sum) timdasa VB Databases Basics 1 August 22nd, 2006 03:12 PM
How to create a Calculated Field fdtoo SQL Server 2000 0 April 11th, 2006 08:34 PM
Calculated control on report penta Access 2 June 13th, 2005 06:04 AM
Storing Calculated Fields dearnne Access 3 September 2nd, 2004 05:30 PM
Storing Calculated Fields dearnne Access VBA 1 August 30th, 2004 10:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.