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 / July 2005

Tip: Looking for answers? Try searching our database.

Expression Boxes and data from Repeating Tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anton L - 09 Jul 2005 00:01 GMT
I'm trying to concatenate all the item names that are selected from a
repeating table and display it in the expression box without referencing a
node that stores the concatenation programmatically (since I do NOT want to
store this in the primary DOM.)
using something like concat(itemName[itemSelected="yes"]) only shows the
first result.

Is there are any way to achieve my goal without storing the result in the
primary DOM (and hopefully not deleting later or something?)

Thanks in advance.
Greg Collins [InfoPath MVP] - 09 Jul 2005 04:24 GMT
I understand what you are trying to do. I was just attempting to do the same thing earlier today... but to no avail. I had to do some custom XSL work using xd:preserve to get the results I wanted.

As for your situation, you can set up a simple .xml file as a secondary data source and do your concatenation into that field. This will keep it out of the main DOM and your view can have a basic expression box in it bound to that secondary data field. You would just need to write the code to concatenate the values the way you want.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

I'm trying to concatenate all the item names that are selected from a
repeating table and display it in the expression box without referencing a
node that stores the concatenation programmatically (since I do NOT want to
store this in the primary DOM.)
using something like concat(itemName[itemSelected="yes"]) only shows the
first result.

Is there are any way to achieve my goal without storing the result in the
primary DOM (and hopefully not deleting later or something?)

Thanks in advance.
 
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.