Solved

Access 2007 Date Picker - Not Appearing for Unbound Fields

Posted on 2007-03-29
7
4,452 Views
Last Modified: 2013-11-28
When using MS Access 2007 - I have a form where users enter a date range

From: ______      to  ________  the textbox names are txtBeginning and txtEnding

In a query I use the criteria  below to return records between the dates in the textboxes

between forms.formname.txtBeginning and forms.formname.txtEnding

the textboxes are Unbound Fields

I cannot get the default Access 2007 DatePicker to appear for these Unbound Fields

In previous versions of access I used a popup calander, however; since Access 2007 has a date picker - how can I get that to appear when one of these Unbound fields has focus?

I can get the date picker ot appear on bound fields...

Thanks! - AB
0
Comment
Question by:abinboston
[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
7 Comments
 
LVL 44

Accepted Solution

by:
GRayL earned 250 total points
ID: 18819839
Bound controls not fields.  Doesn't the Show Date Picker property of the textbox set to True do the trick?  
0
 
LVL 5

Assisted Solution

by:Atropa
Atropa earned 250 total points
ID: 18820592
Try binding the data pickers to the fields in question then resize the date pickers to the same size as your text boxes.  That should do the trick for you.  You will need multiple date pickers but then you don't need multiple text boxes and you have all the functionality of a date picker field since they are date picker controls!  Good luck...a
0
 
LVL 44

Expert Comment

by:GRayL
ID: 18820944
Key words - text boxes are unbound controls.  I think this is a property issue with the textbox.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:abinboston
ID: 18823966
I was able to solve the issue...

This was an Access 2003 app  (.mdb) converted to Access 2007 (.accdb)

The unbound fields in the existing forms did not show the date picker, no matter what I did
..I deleted the textboxes, then created new ones, set the format to short date and it worked.

I am assuming that it is something in the conversion that did not allow the date picker to show in the unbound fields... On other forms, with bound fields, the date picker worked without changing anything.

Thanks for the answers!

AB
0
 
LVL 44

Expert Comment

by:GRayL
ID: 18824744
Thanks, glad to help.  BTW, did the converted textboxes show the property Show Date Picker as False or did the property not even exist in the properties list
0
 

Expert Comment

by:johnboyva99
ID: 24814482
The easiest way to do this for an unbound control is to use the format property and set it to a date format. Then the date picker will show and be active.
0
 

Expert Comment

by:ehorde
ID: 27645961
If the Input Mask is set, the the Date Picker vanishes.
I don't know why.
Removing the Input Mask will cause the Date Picker to reappear again.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

739 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