Calendar Control

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
 
S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top