challenging bufer & string query

M

mat green

HI People, I have a question, it may be easy, i use the
below bit of code

Private Declare Function GetUserName Lib "advapi32.dll"
Alias "GetUserNameA" (ByVal lpbuffer As String, nSize As
Long) As Long

To obtain peoples user names however i can't seem to get
it to track into tblsales.userid - could anybody send me
the code to get it to track this? i already have it
tracking other details - that are all user input - please
help
..

if you need any futher info please pos on here. thanks
 
G

Graham Mandeno

Hi Mat

Please be patient. I have answered this question that you posted less than
three hours earlier with the rather useful subject line "HELPPPP". You may
be unaware that the people who answer questions here are your peers and are
not employed to do so :)
 

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