G
Guest
I am trying to figure out how I can produce the following:
I need to show accounts that have (0)zero days left before they need to be
paid.
I have created the the following query:
SELECT Accts_Payable.Bill_Date, Accts_Payable.Bill_Amount,
Accts_Payable.[Date Paid], [Accts_Payable Query].Discount_Amt,
(Accts_Payable.Bill_Amount-[Accts_Payable Query].Discount_Amt) AS [New
Bill_Amt], DateDiff("d",[Accts_Payable Query].Bill_Date-[Date Paid],0) AS
Days, Date() AS [Report Date], DateDiff("d",[Report
Date]-Accts_Payable.Bill_Date,0)+6 AS [Days Left]
FROM Accts_Payable INNER JOIN [Accts_Payable Query] ON
Accts_Payable.Bill_EntryID = [Accts_Payable Query].Bill_EntryID;
I cannot get information to produce days remaining unless I put a Date in
the [Date Paid] field. I do not want to do it this way. I need to be able to
produce the report based on data already in table.
Any help appreciated.
I need to show accounts that have (0)zero days left before they need to be
paid.
I have created the the following query:
SELECT Accts_Payable.Bill_Date, Accts_Payable.Bill_Amount,
Accts_Payable.[Date Paid], [Accts_Payable Query].Discount_Amt,
(Accts_Payable.Bill_Amount-[Accts_Payable Query].Discount_Amt) AS [New
Bill_Amt], DateDiff("d",[Accts_Payable Query].Bill_Date-[Date Paid],0) AS
Days, Date() AS [Report Date], DateDiff("d",[Report
Date]-Accts_Payable.Bill_Date,0)+6 AS [Days Left]
FROM Accts_Payable INNER JOIN [Accts_Payable Query] ON
Accts_Payable.Bill_EntryID = [Accts_Payable Query].Bill_EntryID;
I cannot get information to produce days remaining unless I put a Date in
the [Date Paid] field. I do not want to do it this way. I need to be able to
produce the report based on data already in table.
Any help appreciated.