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!

Add New Record Command Button?

Status
Not open for further replies.

swan717

MIS
May 16, 2001
13
0
0
US
Hi:

I've created a simple data entry form in Access and added a command button to add a new record. The button works, but I want the cursor to go back to the top of the page. Can anyone help???

Thanks!
 
In the command buttons On Click event add:

Me![Form's First Field].SetFocus


Good Luck!
Anthony J. DeSalvo
President - ScottTech Software
"Integrating Technology with Business"
 
Look up the setfocus method in help - that should work for you.

Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top