Concat string on print view from repeating table fields?

G

G T G

I would like to populate a expression box(or text box) on the "print
view" of a form with a concatenated string of fields & text that users
enter on the "data entry" view. I cannot figure out the best way to
accomplish this when the field source is a series of repeating fields.
Does anyone have any suggestions for this or had a similar issue that
has been resolved with a different form layout?

Example:
Repeating Table Fields on View 1 (for data entry)
[1] FNAME, MI, LNAME
[2] FNAME, MI, LNAME
etc...

Expression Box on View 2 (for printing)
Concat string: FNAME[1] + " " MI[1] + " " + LNAME[1] + ", " + FNAME[2]
+ " " MI[2] + " " + LNAME[2]

I am using InfoPath SP1 and VS.NET 2003, but am just beginning to
tackle C#, so any specific code suggestions would be appreciated.
Thanks in advance for any help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top