![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using Access 2010. I have a tab form with a list box (exposed to all tab pages). If I reset the recordsource for the main form, and then set the focus on the list box (using VBA), I need to click twice on controls in the main form before they accept the focus. If I use the ALT shortcut key, the focus shifts immediately. If I open the form, without resetting the recordsource, there is no problem. Any ideas welcome. |
#3
| |||
| |||
|
|
"Bob Darlington"<bob (AT) dpcman (DOT) com.au> skrev i en meddelelse news:4ee1a952$0$21398$c3e8da3$96d63e41 (AT) news (DOT) astraweb.com... I'm using Access 2010. I have a tab form with a list box (exposed to all tab pages). If I reset the recordsource for the main form, and then set the focus on the list box (using VBA), I need to click twice on controls in the main form before they accept the focus. If I use the ALT shortcut key, the focus shifts immediately. If I open the form, without resetting the recordsource, there is no problem. Any ideas welcome. Try first to give Focus to the Form, and then give Focus to the Field... Bjarne |
#4
| |||
| |||
|
|
On 11/12/2011 7:31 PM, bsn wrote: "Bob Darlington"<bob (AT) dpcman (DOT) com.au> skrev i en meddelelse news:4ee1a952$0$21398$c3e8da3$96d63e41 (AT) news (DOT) astraweb.com... I'm using Access 2010. I have a tab form with a list box (exposed to all tab pages). If I reset the recordsource for the main form, and then set the focus on the list box (using VBA), I need to click twice on controls in the main form before they accept the focus. If I use the ALT shortcut key, the focus shifts immediately. If I open the form, without resetting the recordsource, there is no problem. Any ideas welcome. Try first to give Focus to the Form, and then give Focus to the Field... Bjarne Thanks Bjarne, but it is already doing so. -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |