Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook98 - MultiSelect Listbox

Status
Not open for further replies.

SHardy

Programmer
May 9, 2001
231
GB
I have an Outlook98 application that uses a custom form based on a task item. I am adding a print function that takes the values from the open form and copies them into a word template to print.

However, one of the fields on the form is a multi-select listbox. There are about 20 items in the list with checkboxes against each. I need to represent these in my print somehow. What I thought would be the easiest way would be to create a delimited list of the selected items in the list.

How can I iterate through the list adding the text of the selected items to a string variable?
 
Finally I have found a document that enables me to do what I want. Not that anybody seemed interested?


This explains how the field in question cannot be modified or the text of the field returned.
Involved adding a normal text control bound to the listbox. It then gives some example code of how to
point to the new control (not the field) and return it's text.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top