Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

After MSGBOX, what-to-do 1

Status
Not open for further replies.

benaround2

Programmer
Jun 24, 2005
14
US
For my simple form, after I display a msgbox error message, I need to put the cursor at a field different then the one they entered data into.

Sorry, I dont know what to set to make this happen.

Thanks :)
 
This is from the vba help:

Example
The following example uses the SetFocus method to move the focus to an EmployeeID text box on an Employees form:

Forms!Employees!EmployeeID.SetFocus

this should do what you need
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top