Hi,
The Date() function will return the current system date, so assuming the settings on the computer are correct this will return today's date.
To view the records for yesterday you should use the dateadd function, e.g.
DateToday: Date()
DateYesterday: DateAdd("d", -1, Date())
It is worth...