PC Review


Reply
Thread Tools Rate Thread

Date Picker Default?

 
 
Renee
Guest
Posts: n/a
 
      5th May 2010
In a form where a datasheet is a subform, and where the last line is the data
entry line, and where the first field of the data entry line is a date picker
field...is there a way for the date picker field to defualt with the current
date w/out having to use the date picker? In other words, can the field
always show the current date, and if it needs to be different, the user can
click the date picker and choose a different date? If so, how do I fix the
settings?

MS Access 2007, Windows 7.

Thank you for any help with this.
 
Reply With Quote
 
 
 
 
Jeanette Cunningham
Guest
Posts: n/a
 
      6th May 2010
Here is how to set a default date for a textbox on a form.
In design view, select the textbox,
on the property dialog for the textbox, on the data tab,
find the property called Default Value and enter
= Date()

If you want both date and time, enter
=Now()

Access sometimes removes the brackets after Date() or Now(), that doesn't
matter.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Renee" <(E-Mail Removed)> wrote in message
news:7CE0A95F-9ED9-4B92-ABFE-(E-Mail Removed)...
> In a form where a datasheet is a subform, and where the last line is the
> data
> entry line, and where the first field of the data entry line is a date
> picker
> field...is there a way for the date picker field to defualt with the
> current
> date w/out having to use the date picker? In other words, can the field
> always show the current date, and if it needs to be different, the user
> can
> click the date picker and choose a different date? If so, how do I fix
> the
> settings?
>
> MS Access 2007, Windows 7.
>
> Thank you for any help with this.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change default date for Date Picker in 2007 Rose B Microsoft Access 4 16th Sep 2009 04:32 PM
How to erase the default display of a date time picker? clara Microsoft VB .NET 0 17th Dec 2007 04:34 PM
How to set the default value of a date picker to nothing (blank) =?Utf-8?B?RWR1YXJkbzc4?= Microsoft VB .NET 3 5th Apr 2005 05:00 PM
I am trying to use the Microsoft Date and Time Picker control and I am getting the following error "an error occured in a call to the windows date and time picker control" in access 2000 Ralph Malph Microsoft Access Forms 0 25th Oct 2004 07:00 PM
MS Date and Time Picker Control defaults to today's date =?Utf-8?B?UmF2aQ==?= Microsoft Outlook Form Programming 1 23rd Jan 2004 03:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:23 PM.