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

set text field to be current active field for input

Status
Not open for further replies.

kronar

Programmer
Jan 12, 2003
60
US
When I edit an entry text box and decide the entry is not correct I blank the text box but am having trouble getting the cursor to be positioned there for the user to reenter data. I can't seem to find how to position cursor in any of my books, though I think I could once do this a couple of years ago.
Why is it so hard to find how to do things? I am an old linear programmer, with some training in C and C++. I have books: "Beginning Access 97 VBA Programming" and "Access97 Developers Handbook", is there a more general text I should get?
 
A common way is to use the BeforeUpdate event procedure of the TextBox and play with the Cancel parameter.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top