View Single Post
  #4  
Old February 14th 07, 09:13 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How do I make option buttons work in a form?

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Hollis Paul" wrote in message ...
In article ,
=?Utf-8?B?TW9uaWNh?= wrote:
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.

--
Hollis Paul
Mukilteo, WA USA


Ads