‎08-26-2011 01:33 PM
‎08-29-2011 03:00 PM
Select tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, maxlogon.Latest, tblComputers.Userdomain,
tblComputers.Username
From tblComputers Inner Join
(Select tblCPlogoninfo.Computername, tblCPlogoninfo.Domain,
tblCPlogoninfo.Username, Max(tblCPlogoninfo.logontime) As Latest
From tblCPlogoninfo
Group By tblCPlogoninfo.Computername, tblCPlogoninfo.Domain,
tblCPlogoninfo.Username) maxlogon On tblComputers.Userdomain =
maxlogon.Domain And tblComputers.Username = maxlogon.Username
‎08-26-2011 03:04 PM
‎08-26-2011 02:11 PM
‎08-26-2011 03:30 PM
Lansweeper wrote:
you need to the max date value from table tblcplogoninfo.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now