How to print the user name on a report ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a shared data base and I want to add the user name on the report
footer upon printing, could it be? Thanks.
 
In the report text box Control source you can write

=Application.CurrentUser
 
this assumes that you're using Access Security?

ROFL

if you used Select Suser_sname() you should be able to do this without
finding some obscure getusername API call

google getusername or look at mvps.org/access

or.. if you've got the balls to get a long term solution then move to
ADP and use the built in SUSER_SNAME()
 

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