Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Option Buttons

Author  Topic 

Wedge1212
Starting Member

2 Posts

Posted - 2003-08-03 : 15:25:39
in a field i store information about a persons sex. 1 designates male and 2 designates female. How would I get display this information using two option buttons in a form. Obviously one option button would be selected if the person was a male and the other would be selected if the person was female?

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2003-08-03 : 16:16:14
just drop an "option group" control onto the form. the wizard should help you set it up.

let me know if this doesn't help you.

- Jeff
Go to Top of Page

Stoad
Freaky Yak Linguist

1983 Posts

Posted - 2003-08-03 : 16:33:55
(Jeff :))
Suppose this data (sex) is stored in field 'sex' of table 't'.
Drop on your form OptionGroup. Then drop on this Group
two option buttons. Then assign field 'sex' to the OptionGroup
as its datasource. And assign to each of two option buttons
appropriate value of its parameter (in your case it is only 1 and 2).

Of course, the data source of the form must be your table 't'.

- Vit
Go to Top of Page

Wedge1212
Starting Member

2 Posts

Posted - 2003-08-05 : 00:21:10
cool thanks
Go to Top of Page
   

- Advertisement -