when loaded should be focused on the certain field

  • Thread starter Thread starter Frank Situmorang
  • Start date Start date
F

Frank Situmorang

Hello,

I have the form with the layout as follows:

Name
.......

Address:

When I loaded it the cursor is always on the address and highlighting the
form field. My question , how can we make the corsur starts from name and not
to highlight it, so that we can see the content of the field.

Thanks for any idea provided.
 
To set focus to the Name field when you open the form, set it first in the
Tab Order (View menu, in form design.)

To not automatically select the text when you enter a box, set the option
under:
Tools | Options | Keyboard | Behavior entering field
to:
Go to Start of Field.
 
It seems to me that the address field has priority on the tab order.

You could always make the name field the first one by designing the
form then click the name field and select properties. Then under the
other tab make sure the tab order is 0.

Or you could set it in the form open command. Open the form in design
view and under the event tab of the form there is a "On Open" event.
Drop that down and select event procedure and insert the following:

name.setfocus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top