Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Last changed date

Posted on 2001-08-15
5
Medium Priority
?
289 Views
Last Modified: 2010-05-18
Is it possible to have a field in a table that will automatically reflect the date/time that the specific records was last changed, either directly in the table or via a form? This must be updated whenever a record is changed or created.
0
Comment
Question by:LoungeLizard
5 Comments
 
LVL 3

Expert Comment

by:nzjonboy
ID: 6391051
you may be forced to do this with code, but I'll keep listening to see if anyone comes up with something

nzjonboy
0
 
LVL 1

Expert Comment

by:TheNextStep
ID: 6391089
You can do it on a form.  
Lets call the new field "ChangeLog"
Go to the properties for your form, and click on the event tab
Next click on one of the controls that is bound to the field that you want to track changes for.
On the "AfterUpdate" box, select "Event Procedure", then click on the "..." directly to the right.
Paste this =>  Me![ChangeLog]=Now()
0
 
LVL 2

Author Comment

by:LoungeLizard
ID: 6391130
Maybe I expressed myself badly. I want a date/time field that updates itself whenever the record is changed -- whatever the source of the change may be (directly, via query etc.)
0
 
LVL 54

Accepted Solution

by:
nico5038 earned 200 total points
ID: 6391735
For that you would need a Stored Procedure.
That's not available in Access.
The only way to get this will be to split the database and to link your tables to a database (like MS SQL) that has this possibility.

Nic;o)
0
 
LVL 2

Author Comment

by:LoungeLizard
ID: 6392283
I kinda thought so, thanks.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question