forcing a form to highlight the last field again if the entry is i

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form with 2 date fields on it at the end. I have linked these fields
up to the ActiveX control calendar to populate the field. This means that
the normal verify property doesn’t work. Instead I put in a piece of code in
the Lostfocus property to put up a message box then set focus back on the
field.

Unfortunately the setfocus is ignored for some reason and since the field is
the last one on the form once you close the message box it just jumps to the
next record.

Anybody got any ideas how I can fix this?
 

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