S
Suzanne K
I would like to incorporate an additional piece to the following query - if
there was an invoice for the same BAN and the tblInvoice.[GL Month] = Feb
2005, give the value of tblInvoice.[Payment Due Date] in a new field called
Process Due Date. I'm trying to indicate what the due date would be in the
current month.
SELECT tblInvoice.ID, tblBan.BAN, tblBan.Vendor, tblBan.State,
tblBan.[Invoice Expected Date], tblBan.[Bill Cycle], tblBANStatus.BANSTATUS,
tblAnalyst.AnalystName, tblInvoice.[GL Month], tblInvoice.Status,
tblInvoice.[Payment Due Date], tblInvoice.[Invoice Received Date],
tblInvoice.[Invoice Number], tblInvoice.[Invoice Date]
FROM ((tblBan LEFT JOIN tblBANStatus ON tblBan.BANStatusID =
tblBANStatus.BANSTATUSID) LEFT JOIN tblAnalyst ON tblBan.AnalystID =
tblAnalyst.AnalystID) LEFT JOIN tblInvoice ON tblBan.BanID = tblInvoice.BanID
WHERE (((tblBan.[Bill Cycle]) Between 1 And 7) AND ((tblAnalyst.AnalystName)
Like "susan*") AND ((tblInvoice.[GL Month])="Mar 2005") AND
((tblInvoice.[Invoice Received Date]) Is not Null) AND ((tblInvoice.[Invoice
Number]) Is not Null) AND ((tblInvoice.[Invoice Date]) Is not Null) and
((tblInvoice.Status)="Unprocessed"))
Any help would be appreciated.
there was an invoice for the same BAN and the tblInvoice.[GL Month] = Feb
2005, give the value of tblInvoice.[Payment Due Date] in a new field called
Process Due Date. I'm trying to indicate what the due date would be in the
current month.
SELECT tblInvoice.ID, tblBan.BAN, tblBan.Vendor, tblBan.State,
tblBan.[Invoice Expected Date], tblBan.[Bill Cycle], tblBANStatus.BANSTATUS,
tblAnalyst.AnalystName, tblInvoice.[GL Month], tblInvoice.Status,
tblInvoice.[Payment Due Date], tblInvoice.[Invoice Received Date],
tblInvoice.[Invoice Number], tblInvoice.[Invoice Date]
FROM ((tblBan LEFT JOIN tblBANStatus ON tblBan.BANStatusID =
tblBANStatus.BANSTATUSID) LEFT JOIN tblAnalyst ON tblBan.AnalystID =
tblAnalyst.AnalystID) LEFT JOIN tblInvoice ON tblBan.BanID = tblInvoice.BanID
WHERE (((tblBan.[Bill Cycle]) Between 1 And 7) AND ((tblAnalyst.AnalystName)
Like "susan*") AND ((tblInvoice.[GL Month])="Mar 2005") AND
((tblInvoice.[Invoice Received Date]) Is not Null) AND ((tblInvoice.[Invoice
Number]) Is not Null) AND ((tblInvoice.[Invoice Date]) Is not Null) and
((tblInvoice.Status)="Unprocessed"))
Any help would be appreciated.