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

  • Thread starter Thread starter THulotJr
  • Start date Start date
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.
 
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
 
Back
Top