Wrox Programmer Forums
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 23rd, 2005, 11:15 AM
Registered User
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Post a date

automatically Post a date and time and save it as part of the record until the next time record is being edited (time and date is not changing if the record is not being edited). I have done this before but i had to create a micro for each field in the form.

Hamid Baha

Old March 25th, 2005, 09:04 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG

You can have a field in your table for LAST UPDATED, e.g. dtmLastUpdate. In your form's AFTER UPDATE event (not a field's AFTER UPDATE event, the form itself), you can then put something like

Me.txtLastUpdate = Now()

That will put the day and time in that field. That textbox, txtLastUpdate, would be bound to the table's field dtmLastUpdate.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Old March 25th, 2005, 04:42 PM
Registered User
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


I will try it.


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy date values between date controls Alcapone Javascript How-To 1 April 13th, 2006 03:13 AM
How to post the date to another page ASP.NET? rpkarthic ASP.NET 1.x and 2.0 Application Design 1 August 12th, 2005 04:06 AM
Using Date and Time to auto post recordset pablohoney Classic ASP Basics 7 March 7th, 2005 09:56 PM
DTS Import ( Date string to Date field) gfowajuh SQL Server 2000 1 September 30th, 2003 06:28 AM
Convert String Date to Date for a SQL Query tdaustin Classic ASP Basics 4 July 7th, 2003 06:01 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.