Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / July 2005

Tip: Looking for answers? Try searching our database.

default value and dates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ceadsearc - 01 Jul 2005 19:05 GMT
I know how to make one of the fields in a record be the entry date -- no
problem. What I also need is a "modified date" field where if any information
is changed in the record the date of the changes is automatically entered.

Can this be done and can anyone out there tell me how to do?

Many thanks,
Kelley in Baltimore
KARL DEWEY - 01 Jul 2005 20:41 GMT
You can build an event for On Close of your form to SetValue of the field to
Date() or Now().

That does not give you much information!  You could have a history table
that records User, DateTime, & key field of the record changed.

> I know how to make one of the fields in a record be the entry date -- no
> problem. What I also need is a "modified date" field where if any information
[quoted text clipped - 4 lines]
> Many thanks,
> Kelley in Baltimore
Tim Ferguson - 02 Jul 2005 21:40 GMT
"=?Utf-8?B?S0FSTCBERVdFWQ==?=" <KARLDEWEY@discussions.microsoft.com> wrote
in news:5F5A76AF-CAE5-4D11-A2F8-4AE7DBD53BCE@microsoft.com:

> You can build an event for On Close of your form

The BeforeUpdate event is probably a better choice...

Tim F
ceadsearc - 05 Jul 2005 16:09 GMT
Karl,

I will try the history table. I have never done one, but I am hoping that I
can find online some instructions. If you know of any site, please point me
in the right direction. I am a little out of my expertise, but am a quick
learner.

Kelley

> You can build an event for On Close of your form to SetValue of the field to
> Date() or Now().
[quoted text clipped - 10 lines]
> > Many thanks,
> > Kelley in Baltimore
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.