add a pop-up calendar & time together?? (1 Viewer)

alhabkk

Registered User.
Local time
Today, 10:22
Joined
Sep 9, 2013
Messages
49
Hi. Does anybody know how to add a pop-up calendar & time (see attachment) to a form so that when I enter a date & a time, I can also click on some icon for a calendar to pop-up?

Any help is appreciated. Thanks!
 

Attachments

  • Capture.PNG
    Capture.PNG
    18.7 KB · Views: 114

AlexHedley

Registered User.
Local time
Today, 07:22
Joined
Aug 28, 2012
Messages
171
In newer versions of Access you can make a textbox show a DateTime picker by formatting as a Date or binding it to a DateTime Field and the little Date Picker control will show up.

Or add

Private Sub TEXTBOXNAME_GotFocus()
DoCmd.RunCommand acCmdShowDatePicker
End Sub


If you wanting to have full control over the DateTime picker you could look into using the following:
http://www.599cd.com/templates/access/calendar-control/?key=AlexForum
 

alhabkk

Registered User.
Local time
Today, 10:22
Joined
Sep 9, 2013
Messages
49
In newer versions of Access you can make a textbox show a DateTime picker by formatting as a Date or binding it to a DateTime Field and the little Date Picker control will show up.

Or add

Private Sub TEXTBOXNAME_GotFocus()
DoCmd.RunCommand acCmdShowDatePicker
End Sub


If you wanting to have full control over the DateTime picker you could look into using the following:
http://www.599cd.com/templates/access/calendar-control/?key=AlexForum


This is what i mean..I have a wonderful Calendar function that pops-up when I add a date field to a form. Is there a similar Clock function that I can use? I would like to automate this to make it an easier entry.
note: im using access2007
 

Users who are viewing this thread

Top Bottom