Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding User Name to Access Report

Status
Not open for further replies.

DanAuber

IS-IT--Management
Apr 28, 2000
255
FR
I want my Access Report to show the User (ie the person who has logged onto the PC) in the top corner - is there a way of acheiving this easily ?

Thanks for any help

 
Depending on you version of Windows,
Environ("UserName")
may suit.
 
I would prefer to use an API like rather than rely on an environ variable.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Add an unbound control, then follow dhookom link above.

It works great!

AccessGuruCarl
Programmers helping programmers
you can't find a better site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top