SQL retrieval

  • Thread starter EMILYTAN via AccessMonster.com
  • Start date
E

EMILYTAN via AccessMonster.com

How to select out the I_Available quantity to be placed in the qryOld as the
partnumber....?


mySQL5 = "SELECT qryOld.PartNumber FROM ([SELECT Incoming.PartNumber,
I_AvailableQty FROM Incoming WHERE Incoming.I_DespatchNote_Invoice='" & strMO
& "']. as qryOld) LEFT JOIN ([SELECT WIPRawDetails.PartNumber FROM
WIPRawDetails WHERE WIPRawDetails.JobNumber='" & strJobNumber & "' ]. as
qryNew) ON qryNew.PartNumber = qryOld.PartNumber WHERE (((qryNew.PartNumber)
Is Null)) "

myrecset5.Open mySQL5
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top