Forum Discussion
Tony2021
Jan 24, 2023Steel Contributor
Date Filter
Experts, how would I display records only if the count between current date and [FundingDate] is <=3? So, if today was 1/23/23 and the [FundingDate] was 1/27 then I wouldnt show it since it the day ...
- Jan 24, 2023
Hi,
SELECT tblDocs.*, tblDraws.FundingDate
FROM tblDraws INNER JOIN tblDocs ON tblDraws.DrawNo = tblDocs.DrawNoWHERE [FundingDate]-Date()<=3
Servus
Karl
****************
Access Bug Trackers
Access News
Access DevCon
Jan 24, 2023
Hi,
SELECT tblDocs.*, tblDraws.FundingDate
FROM tblDraws INNER JOIN tblDocs ON tblDraws.DrawNo = tblDocs.DrawNo
WHERE [FundingDate]-Date()<=3
Servus
Karl
****************
Access Bug Trackers
Access News
Access DevCon
- Tony2021Jan 24, 2023Steel Contributorthank you Karl.
George, yes it is the number of days.