G
Guest
Is there a property or something that can tell you what has focus?
I am going into a subform and on entry, giving focus to a list of
selections, and then returning to the subform. But I need to know what field
should have focus upon returning. I am looking for something that says:
Subform_OnEnter()
hasfocus = thisfieldhasthefocus
Bunch of calcualtions that reset the focus
thisfieldhasthefocus.setfocus
Endsub
Thanks
I am going into a subform and on entry, giving focus to a list of
selections, and then returning to the subform. But I need to know what field
should have focus upon returning. I am looking for something that says:
Subform_OnEnter()
hasfocus = thisfieldhasthefocus
Bunch of calcualtions that reset the focus
thisfieldhasthefocus.setfocus
Endsub
Thanks