option buttons group - grrrr!

ideefixe

Registered User.
Local time
Today, 21:59
Joined
May 30, 2006
Messages
28
Hello, I wonder could anyone help, rescue and succour me.

As a former VB6 developer, I'm now working with wonderful Access VBA 2000 which makes the simplest operation such as creating a listbox or adding a control array into a living, breathing nightmare.

Today's incubus is option buttons.

Dear people, please tell me how it can be so hard to create a group of option buttons which are mutually exclusive and by whose value I can set another variable? I tried just sticking them on the screen, but then soon sobered up when I realised that Access would merrily allow me to select all of them if I so wished in joyous defiance of what an option button is actually FOR.

So I consulted the oxymoronic Help (even though it's impossible to construct an oxymoron with one word, this particular piece of functionality has somehow managed it) and was advised by same to create an option group. This I duly did - then realising that I had to set this property called Option Value 1,2, 3 etc. No sooner said than done. Anything to get it over with.

Now having different values, one would imagine that all I do is give each option button the same name. But no - control arrays in this environment would be like the discovery of the wheel in Caveman Land. So I google it and am told that I have to select the name of the option group.

Now where in all Christendom or Islamdom or NoGodsAtAllDom (in case Richard Dawkins is logged on and wants to help) can I find the name of this option group? Nowhere was I asked to assign an option group name, nowhere can I see a control that resembles an "option group", whatever that may be.

If someone could enlighten me I would be very grateful as a simple problem has once again taken hours thanks to the Access VBA environment. Grrrrrr

And thank you.
 
right click on the frame of the option group to get the properties.

Col
 
Colin - THANK YOU THANK YOU. That did the business.

Christ I want to buy you a pint. Or several of whatever it is you're having yourself!

Bookmarking this...
 
You're welcome.

Pint of vodka please:D

Col
 
Ah. So you've been programming in Access that long

:p
 
ideefixe said:
Ah. So you've been programming in Access that long

:p
Only 6 years or so, but I also work for the NHS. . . . . . . . and thats what drives one to drink.:rolleyes:

Col
 

Users who are viewing this thread

Back
Top Bottom