J
Jay
I have a table tblJobNos with fields pkeyJobNos, strBatchNo, strOrderNo,
NumInvoiceNo, plus others that I'm not using in this querry.
The Query is as follows:
SELECT tblJobNos.strBatchNo, tblJobNos.strOrderNo, tblJobNos.pkeyJobNos
FROM tblJobNos LEFT OUTER JOIN tblJobNos AS tblJobNos_1 ON
tblJobNos.pkeyJobNos = tblJobNos_1.pkeyJobNos
WHERE (((tblJobNos_1.fkeyPattGetID)<>10) AND ((tblJobNos.numInvoiceNo) Is
Null))
ORDER BY tblJobNos.dtmDateSent, tblJobNos.strBatchNo, tblJobNos.pkeyJobNos;
My aim is to list ALL of the job nos in a batch, where there might be one or
more job no in the batch that haven't been invoiced yet, ie no invoice no..
The fkeyPattGetID<>10 indicates job nos that aren't 'Outstanding'.
The query above, only list the distinct job nos in the batch that haven't
been invoiced.
Help Please!
NumInvoiceNo, plus others that I'm not using in this querry.
The Query is as follows:
SELECT tblJobNos.strBatchNo, tblJobNos.strOrderNo, tblJobNos.pkeyJobNos
FROM tblJobNos LEFT OUTER JOIN tblJobNos AS tblJobNos_1 ON
tblJobNos.pkeyJobNos = tblJobNos_1.pkeyJobNos
WHERE (((tblJobNos_1.fkeyPattGetID)<>10) AND ((tblJobNos.numInvoiceNo) Is
Null))
ORDER BY tblJobNos.dtmDateSent, tblJobNos.strBatchNo, tblJobNos.pkeyJobNos;
My aim is to list ALL of the job nos in a batch, where there might be one or
more job no in the batch that haven't been invoiced yet, ie no invoice no..
The fkeyPattGetID<>10 indicates job nos that aren't 'Outstanding'.
The query above, only list the distinct job nos in the batch that haven't
been invoiced.
Help Please!