Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > BOOK: Beginning InfoPath 2003
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old July 26th, 2006, 04:53 PM
Registered User
Join Date: Jul 2006
Location: Atlanta, GA, USA.
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.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 08:45 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.