How is it possible to have Access display a popup calendar to an unbound control?

Hi Experts,
Wondering if there is a way to have Access new feature of displaying popup calendar for date fields also do that to a particular unbound control, which is used for user to enter date range to filter the form?

PS. I have programmed calendar popup screens that are in use for older Access versions, but perhaps they can all be removed, once I get a solution for this question..
LVL 6
bfuchsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
You are talking about the Date Picker, right ?
I think if in the Format property of the Text Box, you set a date format  like mm-dd-yyyy  .... and DatePicker to Yes for Dates, then the Date Picker will appear to the side of the text box when you click in it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bfuchsAuthor Commented:
Hi,

and DatePicker to Yes for Dates
The problem is that I'm still designing it in 2003
Talking about users of later versions having this feature
Can I do that in conditional programming?

Thanks,
Ben
0
PatHartmanCommented:
It is important to set a format for unbound controls that are used to capture dates REGARDLESS of what version of Access you are using.  I prefer using "Short Date" because that will conform to whatever the Windows default is set to.  Even for .mdb format databases, A2007 will automatically display a date picker as long as two conditions are true.
1. NO Input mask
2. Bound to a datetime field or if unbound, has a date format.

By setting a date format on an unbound control, you tell Access that you only want to allow valid dates to be entered.  Therefore Access will only allow valid dates to be entered in the control.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
"or if unbound, has a date format."
Like I was saying :-)
0
bfuchsAuthor Commented:
Hi Experts,

1. NO Input mask

I see now what you mean.
However this will remove the convenience of having the slashes pre-entered if users enter it manually.
Any suggestion to accommodate both?

Thanks,
Ben
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
FWIW ... I *never* use Input Masks on dates. Most users hate them. And they really complicate pasting in dates.
If it's the current Year ... and before Oct ... all you need to enter is m-dd  or m-d and table out. Access will add the current Year.
So simple.
0
bfuchsAuthor Commented:
Thanks Experts!
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.