Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GoToControl 1

Status
Not open for further replies.

PharmaFun

Programmer
Jul 30, 2003
30
CA
Hello,

In a form, I have a combo box which, when a number is selected, I'd like it to jump to the next field in the form which is "Initials." I have this afterupdate code:

Private Sub Combo151_AfterUpdate()
GoToControl.Initials
End Sub

But all I get is an error message saying I must save the field before executing the gotocontrol action. How do I do that?

Thanks,
Dean
 
try
initials.Setfocus

Hope this helps
Hymn
 
Hey Hymn....worked like a charm! Thanks!

Dean
 
it was a pleasure thank you for the star

Hope this helps
Hymn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top