‎08-31-2011 12:48 PM
‎09-01-2011 10:05 AM
Select maxlogon.Latest, tblADusers.Name, tblADusers.Description,
tblADusers.Office, tblADusers.Department, maxlogon.Domain, maxlogon.Username
From (Select tblCPlogoninfo.Domain, tblCPlogoninfo.Username,
Max(tblCPlogoninfo.logontime) As Latest
From tblCPlogoninfo
Group By tblCPlogoninfo.Domain, tblCPlogoninfo.Username) maxlogon Inner Join
tblADusers On maxlogon.Domain = tblADusers.Userdomain And maxlogon.Username =
tblADusers.Username
Order By tblADusers.Name
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now