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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |