Switch function

  • Thread starter Guillaume Poznanski
  • Start date
G

Guillaume Poznanski

Hi

I'm creating a form that requires mutiple choices. To be more specific, i want to use three combo boxes. For example, the box number one would have the choice for three letters A, B, C. Whenever I choose A I want the letters X, Y, Z to appear in the box number two, then if i choose the letter Z, I want the letters F, G, H to appear in the box number three. I already know how to write a function that tells a filed to be fill with an info depending on another filed, but I don't kno how to do it with a combo bax

Regards,
 
S

Sue Mosher [MVP]

Outlook functions work the same regardless of the control type. Because you
can use only Outlook property values in a function, not a control value, the
control must be bound to a specific Outlook property. If you are using only
unbound controls, you will have to handle this in VBScript using the
control's Click event. See http://www.slipstick.com/dev/propsyntax.htm
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Guillaume Poznanski said:
Hi,

I'm creating a form that requires mutiple choices. To be more specific, i
want to use three combo boxes. For example, the box number one would have
the choice for three letters A, B, C. Whenever I choose A I want the letters
X, Y, Z to appear in the box number two, then if i choose the letter Z, I
want the letters F, G, H to appear in the box number three. I already know
how to write a function that tells a filed to be fill with an info depending
on another filed, but I don't kno how to do it with a combo bax.
 

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