|
SELECT 表2.压力等级, 表2.材料名称, 表2.材料规格, 表2.材质, 表2.厚度系列, 表2.端口型式, DLookUp("数量","表1","压力等级='" & [压力等级] & "' AND 材料名称='" & 材料名称 & "' AND 材料规格='" & 材料规格 & "'") AS 数量, DLookUp("单位","表1","压力等级='" & [压力等级] & "' AND 材料名称='" & 材料名称 & "' AND 材料规格='" & 材料规格 & "'") AS 单位
FROM 表12
WHERE ((Not (DLookUp("数量","表1","压力等级='" & [压力等级] & "' AND 材料名称='" & 材料名称 & "' AND 材料规格='" & 材料规格 & "'")) Is Null) AND (Not (DLookUp("单位","表1","压力等级='" & [压力等级] & "' AND 材料名称='" & 材料名称 & "' AND 材料规格='" & 材料规格 & "'")) Is Null)); |
|