By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,479 Members | 2,239 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,479 IT Pros & Developers. It's quick & easy.

Radio button groups are null

P: n/a
I've researched the archives and cannot find this subject
discussed...Sometimes during debug sessions Radio Button groups or
Check Boxes are filled in with a dotted pattern as if they were set to
NULL or never were initialized. This is not the case as I always
initialize both of these controls in the code. On occasion, I have to
click each Radio Button, in turn, to remove the dot pattern from each.
Later on in the session they sometimes revert to the NULL state. I do
not change any of these controls programmatically - only by clicking.

Obviously, neither I, nor my code can make a logical decision with
these controls in an unknown state. I have seen references to Triple
State controls but find no such property. Any ideas?

Hank Reed

Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Try setting the Default Value of the group to 1 (or whatever is the value of
the first button). That is usually enough, without any code.

Are you using Filter By Form? Unbound controls can revert to Null after FBF.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Hank" <ha********@aol.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I've researched the archives and cannot find this subject
discussed...Sometimes during debug sessions Radio Button groups or
Check Boxes are filled in with a dotted pattern as if they were set to
NULL or never were initialized. This is not the case as I always
initialize both of these controls in the code. On occasion, I have to
click each Radio Button, in turn, to remove the dot pattern from each.
Later on in the session they sometimes revert to the NULL state. I do
not change any of these controls programmatically - only by clicking.

Obviously, neither I, nor my code can make a logical decision with
these controls in an unknown state. I have seen references to Triple
State controls but find no such property. Any ideas?

Hank Reed

Nov 13 '05 #2

P: n/a
Try setting the Default Value of the group to 1 (or whatever is the value of
the first button). That is usually enough, without any code.

Are you using Filter By Form? Unbound controls can revert to Null after FBF.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Hank" <ha********@aol.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I've researched the archives and cannot find this subject
discussed...Sometimes during debug sessions Radio Button groups or
Check Boxes are filled in with a dotted pattern as if they were set to
NULL or never were initialized. This is not the case as I always
initialize both of these controls in the code. On occasion, I have to
click each Radio Button, in turn, to remove the dot pattern from each.
Later on in the session they sometimes revert to the NULL state. I do
not change any of these controls programmatically - only by clicking.

Obviously, neither I, nor my code can make a logical decision with
these controls in an unknown state. I have seen references to Triple
State controls but find no such property. Any ideas?

Hank Reed

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.