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
Solved

Access 2007 Date Picker - Not Appearing for Unbound Fields

Posted on 2007-03-29
7
4,394 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

856 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