Help regarding noncheckboxes

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

Guest

Is there a box that only allows one to be checked like in Visual Basic. For
example if Part time is checked then Full Time Will become unchecked if Full
Time was already checked? In Visual Basic they look like circles instead of
boxes.
 
That would be an option group with two option buttons in it. Both are avable
from the design toolbar.
 
How do you add more then one option to the box?

rico said:
That would be an option group with two option buttons in it. Both are avable
from the design toolbar.
 
How do I connect the option buttons together, so for example say you needed 2
Frames each with 5 checkboxes!
 
Rick B, sorry about that but thats not what happens. I need a option group
but I need each checkbox. I have 6 fields. So Do I really only need one field
with several option groups??

Like

0 = Lay
1 = Religious
2 = Priest

or something like that??

Right now I have several things like 6 Yes/No checkboxes but I dont the
person entering data to be able to select more then one!
 
mjcxp said:
Rick B, sorry about that but thats not what happens. I need a option
group but I need each checkbox. I have 6 fields. So Do I really only
need one field with several option groups??

Like

0 = Lay
1 = Religious
2 = Priest

or something like that??

Right now I have several things like 6 Yes/No checkboxes but I dont
the person entering data to be able to select more then one!

It sounds like you don't understand how option groups work, and yes,
reading the help files would probably help. An option group is bound to
a single field (or it may be unbound), and contains some number of
controls (say, check boxes), to each of which a unique numeric value --
the Option Value property -- has been assigned at design time. Only one
of those check boxes can be checked at a time, and the value of the
option group frame itself (and the field to which it's bound) takes on
the numeric value that was assigned to that particular check box.

Note that just drawing an option group frame around a set of check boxes
doesn't make those check boxes "belong" to the option group. The
easiest way to create an option group is to use the control wizard;
that will take you through the steps of creating the option group frame
and the controls that will belong to it. But if you have already
created both an option group and a set of independent check boxes, you
can cut the check boxes, then click to select the frame, and paste the
check boxes into it.
 
Hi mjc

Option Groups use option buttons (called radio buttons in Visual Basic or
VB.Net). The wizard sets these up for you quite nicely.

Not sure what's confusing you or why you are trying to use yes/no boxes???
 
In short, you have broken the basic rules when it comes to creating fields.
A field name should not contain data. The items you mentioned (Lay,
Religious, Priest, etc.) should not be separate fields. They should be one
field named "type" or similar.

You could make this field a drop-down list and select one of the options
from it.

If you want to use option groups, look at the help file. It gives a very
detailed explanation. You can use the wizard or build it your self. I
believe that an option group would store the value in one field in your
table ('type' maybe?) and that the radio button they click would determine
what value is stored.

Give it a try and post back if you have specific questions.

Good luck.
 
SusanV said:
Hi mjc

Option Groups use option buttons (called radio buttons in Visual
Basic or VB.Net).

Just so you know, Susan, an option group can use check boxes or toggle
buttons, as well as radio buttons.
 
Oh yes, I'm aware of that - I meant that the default using the wizard is the
radio buttons - which sounded like what he was looking for

;-)
 

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

Back
Top