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

New Record Cursor

Status
Not open for further replies.

SmitsMan

Programmer
Feb 14, 2003
3
US
I have a tabular datasheet. I use the DoCmd.GoToRecord,,acNewRec command to move to the new record row to add a new entry. When I do the same thing using the * key on the navigation bar it moves to the new record row and shows the cursor at the beginning of the field. How do I do the same thing in code, i.e., get the blinking cursor to appear?
 
Try this:

DoCmd.GoToRecord,,acNewRec
Me![FirstField].SetFocus

Code on! Anthony J. DeSalvo
President - ScottTech Software
"Integrating Technology with Business"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top