P
Ptero
I have a 'switchboard' type form with a subform. There are 5 lists of options
grouped by functionality which when one is clicked change the sourceobject of
the subform. There are about 80 different choices and this method enables me
to navigate quickly between all of the options rather than going up and down
a menu tree. In principle it works well.
My problem is that having changed the sourceobject, accessed the subform and
taken whatever action is required I then want to select another option, so
click on an option in a different group. What I am struggling to find is the
event which will alow this to happen.
What seems to happen is that the first time I click on the option, nothing
happens but on the second click the sourceobject is changed and I am
redirected to the subform as required. At the moment I am using the onclick
event and it works no differently with afterupdate, got focus, on enter and
mousedown events. So I have to do two clicks (not a doubleclick) where one
should do.
If I use the mouse move event (to change the font weight) this is triggered
when the mouse moves over the relevant control.
It is as if when leaving the subform or a different option group and first
clicking on one of the options an event is not generated.
If I have to live with two clicks then so be it, but it would be more
pleasing to find a solution.
I am using Access 2002 and have tried in in 2003 with the same result.
Has anybody any suggestions?
grouped by functionality which when one is clicked change the sourceobject of
the subform. There are about 80 different choices and this method enables me
to navigate quickly between all of the options rather than going up and down
a menu tree. In principle it works well.
My problem is that having changed the sourceobject, accessed the subform and
taken whatever action is required I then want to select another option, so
click on an option in a different group. What I am struggling to find is the
event which will alow this to happen.
What seems to happen is that the first time I click on the option, nothing
happens but on the second click the sourceobject is changed and I am
redirected to the subform as required. At the moment I am using the onclick
event and it works no differently with afterupdate, got focus, on enter and
mousedown events. So I have to do two clicks (not a doubleclick) where one
should do.
If I use the mouse move event (to change the font weight) this is triggered
when the mouse moves over the relevant control.
It is as if when leaving the subform or a different option group and first
clicking on one of the options an event is not generated.
If I have to live with two clicks then so be it, but it would be more
pleasing to find a solution.
I am using Access 2002 and have tried in in 2003 with the same result.
Has anybody any suggestions?