How to create multiple choice field

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

Guest

I want to create a field that has a list of choices that can be selected. How
would I do that?
 
I want to create a field that has a list of choices that can be selected. How
would I do that?

Without more information, perhaps you can use an Option Group.
Add a new field to your table.
Set it's Datatype to Number and it's Field size to Integer.

Add a new Option Group control to your form.
Add as many radio buttons as you need to the group.
Label them as needed.
Set the Control source of the Option Group to the new field in the
table.

Selecting one of the radio buttons within the group gives the group
it's value.

You can then use the Choose function in an unbound control in the
report to print the text value of the field:
=Choose([OptionField],"Text1","Text2","Text3")
 
Use the "Comboxbox" from the Toolbox, along with the Wizard. It will guide
you thorugh the process, allowing you to create a list of choices OR base
your choices on a table/query. This presumes that you are allowing the
selection of only ONE choice.

If you want one/several choices to be allowed, then create a subform with a
combobox as above. Then make the subform's appearance as a "datasheet" only.
Drop the subform into the main form, then make sure the main form and
subform are linked by a common field (e.g., CustomerID). You can then hide
the CustomerID in the subform by making its width equal zero.

---Phil Szlyk
 
Back
Top