Calendar Control

  • Thread starter Thread starter Sandy
  • Start date Start date
S

Sandy

I have placed a Calendar Control on my form which has its Control Source as
DateRequired, which is shown in txtDateRequired. I have the following events
:-

Private Sub Form_Open(Cancel As Integer)
Calendar3.Visible = False
End Sub

Private Sub txtDateRequired_GotFocus()
Calendar3.Visible = True
End Sub

Private Sub txtDateRequired_Exit(Cancel As Integer)
Calendar3.Visible = False
End Sub

This all works fine with one exception: I would like after the date has been
inserted into txtDateRequired (by clicking on the calendar), that the tab
key when pressed moves the focus to the next field - which in this case is
the first field on my subform. Currently it moves focus to the second field
on my form, i.e. backwards.

How can I achieve this?

Sandy
 
Ok lets close this one. I have managed to find further info to assist but it
still glitches so I will start a new post.

Sandy
 
Back
Top