I have a need to print username

  • Thread starter Thread starter Kamy
  • Start date Start date
K

Kamy

I have a need to print the username in report,
Can someone tell me how to do so?

Thank you in advance,
-Kamy
 
Dinh,

I am doing sql server authentication, directly
from the server.

Upon launch default form comes up, user chooses
to open one of the few forms, then thru' Access,
he is asked to login and this login is sql server
valid login.

This is validated against sql server.
I would like to retrieve the user information logged
on this way.

Thank you,
Kamy
 
In summary: You need the SQLServer Login (using SQL Server authentication),
not Access or Windows?

If this is the case, check CURRENT_USER in SQL2K B.O.L.
 

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

Back
Top