View Full Version : Moving Focus to various objects


ernief
03-03-2000, 03:15 AM
How can I set the focus to an object on a form as the result of pressing a command button

dennyryan
03-03-2000, 04:46 AM
in the on_click event

me.Controlx.setfocus

Denny

ernief
03-03-2000, 05:11 AM
Thanks Dennyryan
Works a treat.
I had searched Access help, perhaps I should have thought to search VB help because it is in there.