Retrieve Username

S

slweiser

I have an CommentUnbound and Comment field. The Comment Unbound updates the
Comment memo field. BeforeUpdate in the Comment field posts a date/time
stamp. I now would like to have the Username (from the network) to follow
immediately after the date time stamp. An Example followsof the
date/timestamp in the Comment memo field:

4/4/2009 12:28:37 AM
Now will it go to the next record

4/4/2009 12:26:04 AM
Testing next record by Click
-----------------------------------------------------------------------------
---

My code looks like this:


Private Sub Comment_BeforeUpdate(Cancel As Integer)

End Sub

Private Sub CommentUnbound_AfterUpdate()

Me.Comment = vbCrLf & vbCrLf & Now() & vbCrLf & Me.CommentUnbound & " " & Me.
Comment

Me.CommentUnbound = vbNullString

End Sub
'date stamps, advances 2 lines and carriage return on exit of Comment memo
field.
------------------------------------------------------------------------------
 
S

slweiser via AccessMonster.com

see my reply to Erez. for more details

Stefan said:
hi,

As I don't see the function call to fOSUserName(), what have your tried
so far?

mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top