Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2006

Tip: Looking for answers? Try searching our database.

sum up expression path results

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
forger - 03 May 2006 08:57 GMT
Hello, I'm not very advanced in xpath commands and infopath in general.
I have a repeating table that I'd like to multiply the total of pages
and price per page.
Then sum the total of the table column with the results of the
multiplications.

Here's a screenshot:
http://img99.imageshack.us/img99/5773/infopathexample8lo.jpg

The total is worked out: my:pages * my:priceppage
but I can't figure out how to make the sum of all the totals.

Is that possible?

Thanks for your help :)
Anuma - 03 May 2006 10:13 GMT
Hi,

1.    Double click on the “Total Sum” expression box.
2.    Click on “fx” button in the Insert Expression box.
3.    Enter sum (total) in the Insert formula box.
4.    Click on ok.

I hope this will help you.

Signature

Anuma
http://www.autonomysystems.com

forger - 03 May 2006 13:44 GMT
erm.. Actually no. I already knew that part, but the expression box
doesn't have its own field with the resulting value of the
multiplication., does it? Can I make the expression box set a field
with the result of the multiplication? And then sum the results in the
total sum?
forger - 03 May 2006 17:05 GMT
by the way, I couldn't find the "fx" button you said
Anuma - 04 May 2006 09:15 GMT
You can use the text box for “Total” field other than Expression box and then
change the text box to read only. Now Total field is displayed in the data
source.

Open the expression box properties dialogue box. Fx button is displayed end
of the XPath text box field.

Signature

Anuma
http://www.autonomysystems.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.