Adding date and time to text

whatdoidonext

New member
Local time
Today, 22:07
Joined
Jul 5, 2005
Messages
8
Hi
Apologies first if there is an easy answer to this post as I'm new to Access.

I have a notes box on a form that users update with the latest progress of work done. At the end of each progress I would like Access to automatically add the date, time and user's network id so that I can track who did what and when.

Is there an easy way to code this?
 
What,

Need more info, but generally:

Append to end:

Me.Notes = Me.Notes & vbCrLf & Now() & " " & Me.NetworkID

Append at top:

Me.Notes = Now() " " & Me.NetworkID & vbCrLF & Me.Notes

Wayne
 
Welcome to the forum!

Searching the forum is a great way to find an answer to your question. Especially the common questions that already numerous threads with similar questions and answers.

You could also incorporate an Audit Trail into your db. Check out the sample I have posted @ Audit Trail.

Use the Environ() function to get their network name.

Code:
Environ("UserName")
 
Last edited:

Users who are viewing this thread

Back
Top Bottom