Question How to select a field on cue (1 Viewer)

mitch_johnson

Registered User.
Local time
Yesterday, 23:56
Joined
Mar 18, 2009
Messages
40
hello i am new to access so please could you explain things step by step:

what i would like to do is have access click in a field in my form when the form opens up so basicly on the on open propertie does anybody have any code for that thanks
 

speakers_86

Registered User.
Local time
Today, 02:56
Joined
May 17, 2007
Messages
1,919
Open the form in design mode. Open up the properties sheet. Scroll down to on open, in the drop down, select event procedure. Then click the elipses. In the window that pops up type this code. me.YourFieldHere.setfocus. Heres what it should it will look like.

form_on open
me.yourfieldhere.setfocus
end sub

Close this window, and thats it.
 

Users who are viewing this thread

Top Bottom