你的引号反了吧
"select 产品编码,品名,规格,计量单位,仓库,备注 from 库存表 where “ & tables(“库存调拨单_主表").current("品质状态") & " > 0"