進來幫下忙,SQL語句.
我用:
x_RS.Open "Select Cloth_SM_ID2,Cloth_SM_ID3 from Cloth_GZ" 語句沒問題.
但我改成這樣:
x_RS.Open "Select Cloth_SM_ID2,iif(isnull(Cloth_SM_ID3),0,Cloth_SM_ID3) As xxx from Cloth_GZ "就出問題,報錯: "The isnull function requires 2 arguments"
為什么呢?isnull可以用到sql語句中的啊.