A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Automatically Putting date in field



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2005, 01:39 PM
horseman
external usenet poster
 
Posts: n/a
Default Automatically Putting date in field

In the form I have a date field, is their a way in which I can make the date
field automatically but in todays date when opening each record.
  #2  
Old October 27th, 2005, 01:48 PM
Dennis
external usenet poster
 
Posts: n/a
Default Automatically Putting date in field

Make the control source of the field

=Date()

"horseman" wrote:

In the form I have a date field, is their a way in which I can make the date
field automatically but in todays date when opening each record.

  #3  
Old October 27th, 2005, 01:55 PM
'69 Camaro
external usenet poster
 
Posts: n/a
Default Automatically Putting date in field

In the text box's Default Value Property, try:

=Date()

so that if the text box is bound, whenever a new record is created, "today"
is the date assigned, and if the text box isn't bound, "today" will be
displayed for every record.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.


"horseman" wrote:

In the form I have a date field, is their a way in which I can make the date
field automatically but in todays date when opening each record.

  #4  
Old October 27th, 2005, 02:31 PM
Ofer
external usenet poster
 
Posts: n/a
Default Automatically Putting date in field

You can set the default of the field in the table to Date(), that way when
ever you enter data, directly to the table, or using a query it will insert
today date in this field.

--
If I answered your question, please mark it as an answer. That way, it will
stay saved for a longer time, so other can benifit from it.

Good luck



"horseman" wrote:

In the form I have a date field, is their a way in which I can make the date
field automatically but in todays date when opening each record.

  #5  
Old October 27th, 2005, 05:04 PM
BruceM
external usenet poster
 
Posts: n/a
Default Automatically Putting date in field

Your question is unclear about whether you want the date to change to
today's date every time you view the record, or if you want to store the
date the record was created? If the former, set the Control Source for the
text box to =Date(). If the latter, set the Default Value to =Date(). You
have received both suggestions, but again, your meaning is unclear.

"horseman" wrote in message
...
In the form I have a date field, is their a way in which I can make the
date
field automatically but in todays date when opening each record.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Cat Ain't Working shep Setting Up & Running Reports 15 September 12th, 2005 05:14 PM
want to have date from 1 field automatically in another field (but allow edits) _Bigred Database Design 2 September 7th, 2005 09:01 AM
date ranges from a calculated date field John Feeley Running & Setting Up Queries 1 May 26th, 2005 06:53 AM
Query for 'confirmation' rogge Running & Setting Up Queries 8 April 19th, 2005 03:26 PM
Update the Date Field Chris Peikert Using Forms 1 August 27th, 2004 06:27 PM


All times are GMT +1. The time now is 08:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.