Solved

Access 2007 Date Picker - Not Appearing for Unbound Fields

Posted on 2007-03-29
7
4,311 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
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now