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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forcing cursor to specific field

Status
Not open for further replies.

Jackie

MIS
Feb 9, 2000
148
0
0
US
What is the syntax for forcing a cursor to a specific field on a form?
 

Jackie, BillPower is right. (Make a note: BillPower is ALWAYS right!)

I just want to add this: there is a bug (or maybe Microsoft calls it a feature) in Access that causes the focus to be lost in certain situations (and I have not been able to figure out what those situations are; I just know it happens).

So, when I want to belt-and-suspender, I do this:

Code:
Me!ThePREVIOUSControlName.SetFocus
Me!TheControlName.SetFocus





"Be the first to say what is self-evident, and you are immortal." - M. Ebner-Eschenbach
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top