I am actually just using a macro to set the value for 3 fields
[Modby]
[ModDate]
[ModTime]
Looking at it as if it were a module:
Code:
Function LastModified()
On Error GoTo LastModified_Err
With CodeContextObject
.ModDate = Date()
.ModTime = Time()
.ModBy = CurrentUser()
End With
LastModified_Exit:
Exit Function
LastModified_Err:
MsgBox Error$
Resume LastModified_Exit
End Function
It works well, except that I get "Admin" as the current user all of the time. What should I use to get the network current user??