Merge List Box rows to text box

H

Hasse

Hi,

In my InfoPath form I have a List Box with several rows of data collected
from a SharePoint list.
If I would like to use vb script to merge all the rows so it will look
something like this: row1data;row2data;row3data;..... and put it in a Text
Box how can I accomplish that?

Any assistance would be highly appreciated,
Hans
 
H

Hasse

Hi,

Thanks for trying to help me with this but after looking around in the
newsgroup I have to admit that I have not become any wiser.
Can you please explain this a little bit more and maybe provide me with some
code?
And yes, my List Box is being populated by a secondary data source,
SharePoint Contacts List.

Regards,
Hans
 
S

S.Y.M. Wong-A-Ton

The steps I outlined are the steps you need to take; I cannot explain more
unless you have a more specific question. I'm very tight on time these days,
so give me a couple of days and I might be able to put together a solution
for you and post it on my website by next week.
 
H

Hasse

Hi,

I can wait until next week if you can provide me with a solution.
To help you do this I shall try to explain what I wan't to do.
In SharePoint I have a Contacts List with columns for E-mail address and
Group.
In my InfoPath form I get the E-mail address from all contacts that belongs
to the groups Market and Coordinator in to a List Box. Wen clicking on a Send
Mail button
I wan't to, using VB-script, merge the E-mail addresses in my List Box and
put them in the To field in my mail, like,
(e-mail address removed);[email protected];[email protected].
Hope this is enough for you to solve this problem of mine.

Regards,
Hans
 

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