Access date field - update as record is updated

This is a discussion on "Access date field - update as record is updated" within the Databases section. This forum, and the thread "Access date field - update as record is updated are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 10th, 2007, 09:58
New Member
Join Date: Jan 2007
Location: London
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Access date field - update as record is updated

Hi everyone.

Sorry if this has been answered before, I did a search before asking.

For a client's website I have a DatePosted field which is filled in using the Now() command when a new entry is posted. This is being used to list events which are ordered by Date/Time order in DESC order - so far so good ...

However this year, the events are being edited on a regular basis and the client would like the event last edited to appear at the top of the list, with the current DATE/TIME. I have searched for a solution and had no success.

I am looking for either an Access command that updates the date when edited with the current DATE/TIME OR posssibly adding a hidden field that updates the database with the current date and time ... but not sure what I would put in the hidden date field. I am using ASP VBScript for the server-side.

On further reading I have seen articles about AfterUpdate - is this the best solution, and if, how do I get to AfterUpdate - suggestions on tutorials you know of would be great.


Thanks in advance, Sheila

Last edited by matrixbrawl; Jan 10th, 2007 at 11:14.
Reply With Quote

Reply

Tags
access, date, field, update

Thread Tools

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Date/Time Button selfAfflicted JavaScript Forum 2 Aug 8th, 2007 14:25
Printing single record from Access via Report in Web Page Neotekk JavaScript Forum 0 Jun 18th, 2007 15:20
help with formatting Access2000 date field justa_starter Databases 2 Feb 5th, 2006 23:27
mysql update record djme Databases 4 Nov 28th, 2005 11:12
Update autonumber field in Access Database redkyna Databases 3 Aug 20th, 2004 09:18


All times are GMT. The time now is 12:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43