Forum Discussion

Tony2021's avatar
Tony2021
Steel Contributor
Jan 24, 2023
Solved

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 count is 4. If today is 1/24/23 then I would show it since the count is 3. 

 

SELECT tblDocs.*, tblDraws.FundingDate
FROM tblDraws INNER JOIN tblDocs ON tblDraws.DrawNo = tblDocs.DrawNo;

 

thank you

 

3 Replies