Setting Focus to Control on Single Form Side of Split Form

JamesJoey

Registered User.
Local time
Today, 07:30
Joined
Dec 6, 2010
Messages
642
When I right click a row on the data sheet side of a split form an select "New Record" I want the curser to go to the first field on the single record side. I've placed this in the OnCurrent but it did no good.

Code:
If Me.NewRecord Then
 Me!Descrfiption.SetFocus.
End If

Any way to set the focus to the single form Side of a split form??

James
 
If Me.NewRecord Then Me!Descrfiption.SetFocus. End If

If the above is a copy and paste remove the period after SetFocus.
Post your complete code.

Dale
 
Code:
If Me.NewRecord Then
Me!Description.SetFocus
End If

Sorry didn't see that.
 
Where is this code setting?
What event. How do you call it.
WHAT, WHERE,WHEN and HOW.

Dale
 
In my original post I stated that it's in the OnCurrent?!

Am I missing something?
 

Users who are viewing this thread

Back
Top Bottom