Talk About Network

Google





Software > Access Forms > RE: Date Picker...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 46503 of 46786
Post > Topic >>

RE: Date Picker with Inputmask

by =?Utf-8?B?dG9tbWc=?= <tommg@[EMAIL PROTECTED] > Dec 2, 2008 at 08:30 PM

I finally found some confirmation on the MS site that if you use an Input 
Mask, the date picker will not work: 

http://office.microsoft.com/en-us/access/HA100964521033.aspx

 <<Note   If you use an input mask for a Date/Time field, the Date Picker 
control is unavailable for use with that field.>>>

I can probably do a work around where I show a custom button that then
pops 
the calendar for a hidden text box or something, then set that value into
the 
real date text box... blah, blah, blah.... Not sure if it's worth it...

If anyone knows WHY the date picker control won't display because of an 
Input Mask being specified, I'd love to know that one....

Thanks



"tommg" wrote:

> Using Access 2007.  I have a text box with the following properties set
as 
> such:
> 
> Format = Short Date
> Show Date Picker = For Dates
> Default Value = Date()
> Input Mask = 99/99/0000
> 
> Using the properties specified above, I simply do NOT get the date
picker 
> displayed.  The inputmask works as expected though.
> 
> If I remove the 'Input Mask', then the date picker will display as
expected.
> 
> I tried showing the date picker through code on the GotFocus() event of
the 
> control (DoCmd.RunCommand acCmdShowDatePicker), but received the
following 
> error:
> 
> Runtime Error 2046.  The command or action 'ShowDatePicker' isn't
available 
> now.
> 
> Any ideas on how to be able to use both the Date Picker AND the Input
Mask 
> on the same control?
> 
> Oh, and I tried it on a bound or unbound control and received the same 
> results.
> 
> Any help appreciated!
> Thanks!
 




 2 Posts in Topic:
Date Picker with Inputmask
=?Utf-8?B?dG9tbWc=?= <  2008-12-02 14:53:03 
RE: Date Picker with Inputmask
=?Utf-8?B?dG9tbWc=?= <  2008-12-02 20:30:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:58:51 PST 2009.