Dear eLinkIf I want to get a range of Users who have not logged into the system for the last 12 months I can run something likedeclare
@NumOfMonths as intdeclare
@DateTo as Datetimedeclare
@DateFrom as Datetimeset
@NumOfMonths = 12set
@DateTo = GetDate()set
@DateFrom = DateAdd(m, -
@NumOfMonths,
@DateTo) -- display the date rangeselect
@DateFrom as DateFrom,
@DateTo as DateTo -- get results for this date rangeSelect k.NameFromKUAF kWhere k.id not in ( Select distinct d.UserID From DAudit d Where d.AuditDate >
@DateFrom and d.AuditDate <=
@DateTo)Now I recall that there is something special about the way dates are stored in LL, namely DAudit table, can thereforesomeone share what needs to be modified to the above?In other words how would I replace above variables for what can be used for LiveReports in LL9.2sp1.Any suggestions are appreciated greatly.Many thanks,