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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying To Identify Machine IP Address 1

Status
Not open for further replies.

davethegog

Instructor
Oct 3, 2002
9
GB
Hi There

I'm trying to identify the IP address and or Machine Name as the users log on to a shared (10 users) access database. Any suggestions? Thanks in advance

Dave
 
Try something with the Environ(expression as String)
I'm not sure if it's in it, but
Private Sub LoopEnviron()
dim i as integer
for i = 1 to 30
debug.print environ(i)
next i
end sub
in Direct ?LoopEnviron gives the functions look if it's in it
 
Thanks Gerard1979

Environ(1) gives the computer name which will allow me to tie in who's logging on where.

Cheers

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top