[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Display Date Picker in Access

Posted on 2011-03-21
9
Medium Priority
?
720 Views
Last Modified: 2012-06-27
Hi

In MS Access is there a way of automatically making the date picker appear when a date control has focus - ie as opposed to having to click on the date picker icon next to the control

Many thanks
0
Comment
Question by:kenabbott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 35181165
you have to use your own calendar control to do this.
see this sample db
CalendarExample.mdb
0
 
LVL 85
ID: 35182524
What version of Access? 2007 and above have a native Datepicker control. This is controled in the Properties window for each control.
0
 
LVL 75
ID: 35182744
"In MS Access is there a way of automatically making the date picker appear when a date control has focus"
From a user standpoint, I suggest not doing this, as it may be more of an annoyance than helpful.  If a using is just tabbing through that control(s) ... then having the picker pop will be annoying.

mx
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:kenabbott
ID: 35184119
For this particular project getting the date picker to work in this way is exactly what is required thus the reason for my question so the annoyance factor doesn't come into it.

Its Access 2007
0
 
LVL 75
ID: 35184140
I played with it some in A2010 ... so far can't get it do pop open ... but I have a feeling there is away.

mx
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 2000 total points
ID: 35184184
Ok  here you go:

Private Sub txtYourDateField_GotFocus()
    SendKeys "%{DOWN}"
End Sub
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35184540
As MX has answered your direct question, I am not seeking any points here...

The Access 2007 Calendar "Thingy" is cool, but it is terrible if your dates span large ranges...

...just try selecting a date of May 12, 2005
:-O
LOL

<getting the date picker to work in this way is exactly what is required>
FWIW, things like this are always deemed "Required", because they seem slick and or cool.

...but as MX states, users will be come frustrated because they can type in "5/12/2005" a LOT faster than they can "Navigate" to it using the control.

Again, just my 2c,  as I know that the 'requirements' pay the bills,...
;-)
..and perhaps you only need fairly recent dates...

;-)

JeffCoachman

0
 
LVL 75
ID: 35184644
Yes, unfortunately it's another 'partial implementation' of a feature :-(

For example ... Shift+Left Arrow (once open) SHOULD decrement the date by one year ... things like that.

mx
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35185596

<Shift+Left Arrow (once open) SHOULD decrement the date by one year>

Every day's a school day...
;-)

Jeff
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question