I have this query in MS Access and when I add an order by I receive the error "Invalid use of Null" it works fine if I exclude the Order by. Any suggestions
SELECT tblEquip.keyEquip, tblEquip.keyShip, tblEquip.strFPN, tblEquip.keyCmpt, tblEquip.strLoc, tblEquip.strID, tblEquip.strEquipType, tblEquip.strDescription, tblEquip.strNotes, strOldValue, strNewValue
, tblAuditTrail.strChangeType, tblAuditTrail.strTableName, tblAuditTrail.numRecordID
FROM tblEquip INNER JOIN tblAuditTrail ON (tblEquip.keyEquip =CLng(tblAuditTrail.strOldValue))
where strfieldName = 'keyEquipDn'
order by strOldValue