T
TeeSee
I was just doing a little cleanup on a single table using a query. The
following has be stuck. SQL#1 and SQL#2 brings up the SISItemCode that
I want but #3 doesn't. Could anyone suggest why?
The code is identical except for the WHERE clause.
#1
SELECT tblMaterialMaster.AddToFileDate, tblMaterialMaster.ctlMSDSfile,
tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode,
tblMaterialMaster.CostPerInvUnit, tblMaterialMaster.Supplier,
tblMaterialMaster.UpdateDate, tblMaterialMaster.Inactive,
tblMaterialMaster.Contents, tblMaterialMaster.ManufacturerName,
tblMaterialMaster.LocalGroup, tblMaterialMaster.ManufacturerNo,
tblMaterialMaster.[Material description],
tblMaterialMaster.MaterialNote, tblMaterialMaster.[CorpMatl grp],
tblMaterialMaster.InvUnit, tblMaterialMaster.ListPrice,
tblMaterialMaster.Discount, tblMaterialMaster.CostDateNote
FROM tblMaterialMaster
WHERE (((tblMaterialMaster.SISItemCode)="csp20060"))
ORDER BY tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode;
#2
FROM tblMaterialMaster
WHERE (((tblMaterialMaster.SISItemCode)="csp20060") AND
((tblMaterialMaster.[CorpMatl grp])="N"))
ORDER BY tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode;
#3
FROM tblMaterialMaster
WHERE (((tblMaterialMaster.[CorpMatl grp])="N"))
ORDER BY tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode;
following has be stuck. SQL#1 and SQL#2 brings up the SISItemCode that
I want but #3 doesn't. Could anyone suggest why?
The code is identical except for the WHERE clause.
#1
SELECT tblMaterialMaster.AddToFileDate, tblMaterialMaster.ctlMSDSfile,
tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode,
tblMaterialMaster.CostPerInvUnit, tblMaterialMaster.Supplier,
tblMaterialMaster.UpdateDate, tblMaterialMaster.Inactive,
tblMaterialMaster.Contents, tblMaterialMaster.ManufacturerName,
tblMaterialMaster.LocalGroup, tblMaterialMaster.ManufacturerNo,
tblMaterialMaster.[Material description],
tblMaterialMaster.MaterialNote, tblMaterialMaster.[CorpMatl grp],
tblMaterialMaster.InvUnit, tblMaterialMaster.ListPrice,
tblMaterialMaster.Discount, tblMaterialMaster.CostDateNote
FROM tblMaterialMaster
WHERE (((tblMaterialMaster.SISItemCode)="csp20060"))
ORDER BY tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode;
#2
FROM tblMaterialMaster
WHERE (((tblMaterialMaster.SISItemCode)="csp20060") AND
((tblMaterialMaster.[CorpMatl grp])="N"))
ORDER BY tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode;
#3
FROM tblMaterialMaster
WHERE (((tblMaterialMaster.[CorpMatl grp])="N"))
ORDER BY tblMaterialMaster.Funds, tblMaterialMaster.SISItemCode;