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
 

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

Similar Threads

Calendar control part 2 7
Text box visibility 3
Calendar code not working 9
Calendar Control in a Form 1
update yes/no with pop up calender 1
ByPass key ms access 2016 0
Visible Control Help 1
Calendars 6

Back
Top