Getting my Radio Buttons to work on a form I designed

B

Brooke

I am having problems with radio buttons I am using on a form I designed in
Outlook. I have used check boxes and radio buttons both throughout the form
for different things for people to click. I can click all of the buttons but
when I test the form and send it after it is sent the icons that were clicked
for the radio buttons disappeared as though they were never clicked. What
could I do to make them show up?
 
S

Sue Mosher [MVP-Outlook]

Did you ...

1) Put each set of option buttons into a frame (except the first set which, optionally, can use the form itselfr as its "frame")?

2) For each set, bind each button in the set to the same Outlook property, on the Value tab of the control's Properties dialog?

3) On that same tab, assign a value to each button?

4) Repeat Steps 1-3 on the read layout of the form, taking care to use the same fields for #2?

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

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

Brooke

Okay, that got me started. Thank you. I still need help though. I put each
of the different option buttons in the frames and for each of the individual
items I went to 'Properties' and the tab 'Value' and named new fields for
each frame. Good so far? So out of the three frames that I have created
only one of the frames work correctly. I put it as 'Type--Yes/No' >>
'Format--Icon' >> 'Property to use--Value' >> 'Value--On.' I didn't do
anything with the lower part that says, "Initial Value Set." So, since that
worked for one frame I figured it would work for all the frames but it
didn't. How do I get all of the frames to work so that when I run the form I
am able to click different radio buttons in the different frames?
Thanks for your help
 
S

Sue Mosher [MVP-Outlook]

How many buttons do you have in each group (one group per frame)?

In the meantime, 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
 
B

Brooke

Two buttons in Frame 1, 5 buttons in Frame 2 (which is the frame that works),
and 2 buttons in Frame 3. Yes, one group per frame. I titled each of them
differently in the field category.
 
S

Sue Mosher [MVP-Outlook]

For the buttons in Frames 1 and 3, is each pair of buttons bound to a custom Yes/No property?

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

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

Brooke

Yes they are all set to the Yes/No in the "Type" category that cannot be
changed. I guess I set them to that when I designed the field. Do I need to
make them something different?

P.S. I also need to know how to add a password to the form so that I'm the
only one that can change/edit it. Right now everyone can go to "Design this
form" and make whatever changes they want. If you can also tell me that I
would greatly appreciate it.
 
S

Sue Mosher [MVP-Outlook]

That's not what I asked. If you want to store the user's choices, you must associate each control with a field in Outlook. Based on what you've told us about these controls, they should be bound to custom Yes/No properties. Did you do that at the top of each control's Value tab?

You can set a password on the (Properties) dialog of the form, but it's very weak. See http://www.outlookcode.com/d/code/getformpassword.htm

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

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

Brooke

Yes they are all assigned to the Yes/No field if I understand your question.
When I made the field (under the Properties, Value Tab) it asked me to Name
it (which I named them all 3 of them differently) then it ased for a Type and
I chose Yes/No for all 3 of the different fields, and then it automatically
put in Icon for the format. That's what I have. Maybe I don't understand
your question fully.
Brooke
 
S

Sue Mosher [MVP-Outlook]

OK, that's good for Frames 1 and 3, but not for Frame 2 (which has 5 buttons, so Yes/No isn't an appropriate field type. You need a text or numeric field for it.)

Next, check the values for the individual controls. On the Value tab, under Value, the value for one button in Frame 1 and in Frame 3 needs to be set to True. The value for the other button in that set needs to be set to False.

And you need to check all that in the read layout as well as the compose layout.

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

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

Brooke

I'm sorry this is such a problem. As soon as you say "No more questions!"
I'm going to give up and just change them to check boxes! LOL

So here's what I have:
Frame 1 (two buttons) -- set to Yes/No Field with Yes/No Format. One button
set to True and one button set to false. You can click the buttons but when
you send the form, the button you have selected clears so that they cannot be
viewed.

Frame 2 (five buttons) -- set to Yes/No Field with Icon Format. All five
buttons are set to True. These five buttons seem to work just fine the way
they are. (Maybe I need to change is frame to text or numeric like you said
so the other frames will work?)

Frame 3, same problem as Frame 1, (two buttons) -- set to Yes/No Field with
Yes/No Format. One button set to True and one button set to false. You can
click the buttons but when you send the form, the button you have selected
clears so they cannot be viewed.

Should I try changing Frame 2?
Brooke
 
S

Sue Mosher [MVP-Outlook]

So here's what I have:
Frame 1 (two buttons) -- set to Yes/No Field with Yes/No Format. One button
set to True and one button set to false. You can click the buttons but when
you send the form, the button you have selected clears so that they cannot be
viewed.
Frame 3, same problem as Frame 1, (two buttons) -- set to Yes/No Field with
Yes/No Format. One button set to True and one button set to false.

The format and values need to match. Change the format from Yes/No to True/False or change the values from True and False to Yes and No.
Frame 2 (five buttons) -- set to Yes/No Field with Icon Format. All five
buttons are set to True. These five buttons seem to work just fine the way
they are. (Maybe I need to change is frame to text or numeric like you said
so the other frames will work?)

Sorry, but this makes no sense to me. If all the buttons are set to the same Yes/No field and all the buttons are given the value of True, then how is the user supposed to pick anything?

To put it another way: A Yes/No field gives you only two choices -- Yes/No, True/False, On/Off, whatever you want to call them. You can't make 5 choices out of that. If you have five choices for the user to pick from, all mutually exclusive, then you need to be using either a numeric or a text field, with the Value for each option button set to the number or text that you want the bound property to hold if the user selects that button out of the 5.


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

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

Brooke

Well Sue, I think I've finally figured it out with all of your advice!!! I
just did what you said below and it worked! YEAH!!!!!!! Thank you SOOO
much for your time. =)
Brooke
 

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

Top