Outlook 2k3 Script: Pb Using ComboBox

B

bbnimda

Hi All,

When I use this function with my ComboBox
MyControl.PossibleValue = "Thing1;thing2; etc... ;thingx"

Something goes wrong in my form
1) I can't new Item in my folder
2) My saved Item (created with my form), became using the default task.imp

when I use

MyControl.AddItem "thing1"
MyControl.AddItem "thing2"
..
..
MyControl.AddItem "thingX"

All is working fine

But I really need to use possible value in my form So I wonder if someone
can Help Me

Tks
 
N

news.microsoft.com

Hi Sue ,

Is there an other Instruction, that allow adding a list of item in one line
like PossibleValue ?

I use this instruction tu set up Combo content , regarding to a selected
item in an other combo.

And it's not easy to use 20 times .AddItem each time

Tks



"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de eC%[email protected]...
You should never use PossibleValues in script code. See
http://www.outlookcode.com/d/formcontrols.htm#listcombo

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Did you look at the page I suggested and the sample form? Setting List is what you what to do.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


news.microsoft.com said:
Hi Sue ,

Is there an other Instruction, that allow adding a list of item in one line
like PossibleValue ?

I use this instruction tu set up Combo content , regarding to a selected
item in an other combo.

And it's not easy to use 20 times .AddItem each time

Tks



"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de eC%[email protected]...
You should never use PossibleValues in script code. See
http://www.outlookcode.com/d/formcontrols.htm#listcombo

bbnimda said:
Hi All,

When I use this function with my ComboBox
MyControl.PossibleValue = "Thing1;thing2; etc... ;thingx"

Something goes wrong in my form
1) I can't new Item in my folder
2) My saved Item (created with my form), became using the default
task.imp

when I use

MyControl.AddItem "thing1"
MyControl.AddItem "thing2"
.
.
MyControl.AddItem "thingX"

All is working fine

But I really need to use possible value in my form So I wonder if someone
can Help Me

Tks
 

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