show form, but no field has focus until manually click
Posted on 2005-04-29
I have a simple form, that shows a second "data entry form".
From the main form, I show the second form using:
Dim frmEntry As New Form1
When the data entry form is shown, the first field should have the focus. I would think that would be the default behaviour. However, no field has focus. It looks like the form header bar has the foucs, until I click on some field in the form. This app is for a high volume wharehouse, and it matters to save every click and key stroke.
I checked the tab order, and made sure that my first field, was the first tab. Also, I have even put an "Me.field1.focus()" in the form load event, to try to force the focus.
I am new to this, so if I'm missing something obvious, I would be happy to hear it.
Any help greatly appreciated.