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.

Adding Summary Rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CrazyRaymo - 02 May 2006 21:08 GMT
Basic idea: Add additional rows to a filtered repeating table showin
subtotals.  
Example:  
Data Source: Vendor, Month, ServiceType, InvoiceAmount
The user selects a Vendor from a drop down list then the repeatin
table shows all the InvoiceAmounts for that Vendor, organized by mont
and type.  (I can already get that far.)  But also, rows should b
added, interleaved at the appropriate places, that show the subtotal
of InvoiceAmounts by Month and ServiceType.  Obviously, this scenari
requires sorting, but assume the data is pre-sorted.  And assum
another column to hold the "Total" label.

I cannot use C# or managed code.  It needs to work for offline forms o
machines that don't have .NET.  I have done this 1.3 million times i
VB, but InfoPath has me stumped.  However, maybe my programmin
background is keeping me from seeing the solution.

Thank yo

--
CrazyRaym
Posted from - http://www.officehelp.i
Ben Walters - 03 May 2006 01:22 GMT
Howdy,
Have you tried using a footer row on your repeating table ?

Cheers
Ben walters

> Basic idea: Add additional rows to a filtered repeating table showing
> subtotals.  
[quoted text clipped - 14 lines]
>
> Thank you
CrazyRaymo - 03 May 2006 17:04 GMT
A footer won't help as the added rows need to be scattered through th
result set.  For instance:
Vendor    Month    ServiceType     InvoiceAmount
-----------------------------------------------
Bob        July       Plumbing          42.19
Bob        August   Plumbing          57.81
Total              100.00
Mary      August   Finance           13.00
Total              13.00

And, of course, the user wants to sort by vendor or month and hav
everything retotaled.

I found how to insert rows into the DOM with insert.Before.  However
that means deleting the added rows and adding new ones for after sort.
Is it possible to add the rows only to the view?

Thanks

--
CrazyRaym
Posted from - http://www.officehelp.i
 
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.