Originally Posted by
GraeagleBill
...I tried...wanting to give focus to the first line of a continuous form...
...I think it would be something akin to where the focus "lands" when the OnCurrent event fires ...
First off, a 'line,' which is to say, a Record, never gets Focus; only Controls on the Form gets Focus, unless the Form is devoid of any Controls that may receive Focus, as June7 said; then, and only then, can the Form, itself, receive Focus.
Secondly, when the OnCurrent event fires, the Focus 'lands' on a Control on the Current Record. If the Current Record is the first Record, when the Form opens, it 'lands' on the Control that is first in the Tab Order for the Detail Section of the Form. For all other Records, the Control that gets Focus, when moving to another Record, is the Control that last had Focus on the previous Record.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007