Disabling Labels

C

Charles Phillips

Hello,
I am using MS-Office 97.
I have a form created in MS-Access 97. On this form, I have 3 "Yes/No" boxes
& 3 labels.

Example:

Yes/No Labels

__ FedEx FedEx Tracking Number

__UPS UPS Tracking Number

__USPS USPS Tracking Number

I want to be able to select anyone of the "Yes/No" selections & disable the
other 2 & associated labels.
Can/will someone point me in the right direction???

Thank you,

Charles L. Phillips
 
A

aday

Have you considered using a radio button group? Only one
value can be chosen and no code is required.

Hope this helps
 
C

Charles Phillips

Hello,
No, I did not...


aday said:
Have you considered using a radio button group? Only one
value can be chosen and no code is required.

Hope this helps
 
C

Charles Phillips

Hello,
I tried your method & it works fine.
"Thank You" very much...
After making a selection, I want the remaining choices disabled
(grayed-out).
Can you point me to some examples???
 
A

aday

I suppose you could try something like me!
[radiogroupname].enabled = false in the "on lost focus"
event of the radio group. This will disable the entire
group, though.
I'm not certain why you need to do this at all, though,
since the group will only accept on selection. Oh well,
good luck.

Hope this helps
 
C

Charles L. Phillips

Hello,
You make a good point.
"Thanks", again...


aday said:
I suppose you could try something like me!
[radiogroupname].enabled = false in the "on lost focus"
event of the radio group. This will disable the entire
group, though.
I'm not certain why you need to do this at all, though,
since the group will only accept on selection. Oh well,
good luck.

Hope this helps
-----Original Message-----
Hello,
I tried your method & it works fine.
"Thank You" very much...
After making a selection, I want the remaining choices disabled
(grayed-out).
Can you point me to some examples???





.
 

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