Add New Record Button: How to Get Mouse Cursor in Specific Field Upon Clicking?


T

THulotJr

Hello, everyone.
I assume this is simple, but I haven't figured out how to do it yet.
I've created an Add New Record button on my form. I'd like the mouse
cursor to move directly to a specific field when I click that Add New
Record button. How do I configure the button to do that? Thank you!


T. Hulot, Jr.
 
Ad

Advertisements

J

John W. Vinson

Hello, everyone.
I assume this is simple, but I haven't figured out how to do it yet.
I've created an Add New Record button on my form. I'd like the mouse
cursor to move directly to a specific field when I click that Add New
Record button. How do I configure the button to do that? Thank you!


T. Hulot, Jr.
Does the button call a Macro or VBA code? You just need to add a macro step,
or a line of VBA, to Set Focus to the desired control. The VBA would be

Me!SpecificFieldName.SetFocus

--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also http://www.utteraccess.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top