Cursor Placement

  • Thread starter Thread starter Janet Ciegler
  • Start date Start date
J

Janet Ciegler

In some of my input forms, each time I store the record and redisplay
the form, the cursor automatically returns to the first blank field.
But in other similar forms, the cursor does not return, so one has to
click in that field before entering data. How can I get the cursor to
always return? I have the fields ordered correctly, so that's not it.
Using Access 2000 and DAO vba. Thanks! Jan
 
Wherever you're wanting this to happen:

Me.TheFieldName.SetFocus


| In some of my input forms, each time I store the record and redisplay
| the form, the cursor automatically returns to the first blank field.
| But in other similar forms, the cursor does not return, so one has to
| click in that field before entering data. How can I get the cursor to
| always return? I have the fields ordered correctly, so that's not it.
| Using Access 2000 and DAO vba. Thanks! Jan
|
 

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