MLH wrote:
Here's the only code line in the OG's AU event:
MsgBox "After update event just fired"
Msg never displays after clicking any toggle button.
OG value is NEVER updated. All TB's have option
values set. I'm telling you, it does not work with TB's.
It does work with the radio bttns and check boxes.
I use toggle buttons all the time in option groups in A97 and A2003 and
have never ever had this problem.
Has the option group been renamed after you put the after update code
in? This will "orphan" blocks of code in your form module (unless name
autocorrect somehow takes care of this, but I have ALWAYS turned name
autocorrupt off after hearing frequent advice from Tony Toews to avoid
this apparantly plagureed feature - could this be part of your problem,
I wonder?)
Though I've never use the wizard to do it. So try building one without
the wizard.
Delete your current option group and build it by using the form design
view tool box. Bring in an option group and enter toggle buttons one at
a time into the option group frame, altering the caption property to the
name of the month. Don't copy existing button - or if you do, make sure
you chnage the option value so that all 12 toggle buttons have different
values. Then set up your after action event for the option group.
That will work. If it doesn't, you're doing somehting fundamentally
wrong I can't figure out from what you've written.
--
Tim
http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me