How do I make option buttons work in a form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I created a form and defined a couple Option buttons, I'm testing the form
by selecting "Run form", I select an option and send the form to myself, when
I get it I open it and neither option is selected.

I defined the option buttons in both, compose and read page, any ideas why
it is not working?

Thanks,
 
I defined the option buttons in both, compose and read page, any ideas why
it is not working?
Did you do this my defining the option buttons in unsplit mode, and then
splitting them to get the controls in both forms? If you used a simple cut
and paste from one form to the other, it will never work. That creates two
different controls, and auto-loading between compose and read forms only
works if they are the "same" control.

You achieve this sameness by splitting the form after designing the common
elements, or publishing the unsplit form, and then dragging the controls for
the second form from the category of the published form, which will appear in
your list of categories once it is published.
 
I created a form and defined a couple Option buttons, I'm testing the form
by selecting "Run form", I select an option and send the form to myself, when
I get it I open it and neither option is selected.
To make this work, you must bind both option buttons to a single field, and you
must include code in your Open_event code to initialize the controls from field
value.
 
If the option buttons are bound to a field, Outlook takes care of initializing the values. No code is needed. See http://www.outlookcode.com/d/formcontrols.htm

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

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