Re: New User - Time, and date Stamp
- From: "Arvin Meyer [MVP]" <a@xxxxx>
- Date: Fri, 25 May 2007 20:26:54 -0400
Get the Windows username as a function an set the value of the lastuser
field to it.:
http://www.mvps.org/access/api/api0008.htm
write the Now() function to the lastupdated timestamp field. You may use the
BeforeUpdate event to write the values, something like (air code):
Sub Form_BeforeUpdate(Cancel As Integer)
Me.txtLastUser = fOSUserName()
Me.txtLastUpdated = Now()
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
"Kim" <Kim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A6C48D26-8A14-4CD7-8B11-0D93E2DC605D@xxxxxxxxxxxxxxxx
I'm building a tracking database. How do I create a date and time stamp
for
each time some updates my form. I want to includ the name, time and date
they last updated the form. Is this possible? I've only been using this
for
about 2 weeks. Can someone help me please.
.
- Prev by Date: Re: Attaching control to a tab
- Next by Date: Re: DoCmd.SendObject acReport, "RWkOrd", "SnapshotFormat(*.snp)" does not work
- Previous by thread: Re: Form refresh
- Next by thread: Re: Using Classes in a database
- Index(es):
Loading