关于SQL查询语句,我用VB+Access
rs.Source = "select shuliang,wuzibh from CaiJuLeiWuZi where wuzibh = -1166237008"没问题,可是如果
dim iBH as long
iBH=-1166237008
rs.Source = "select shuliang,wuzibh from CaiJuLeiWuZi where wuzibh = long"就不对呢?提示"No value given for one or more required parameters"
我如果改成
dim iBH as long
iBH=-1166237008
rs.Source = "select shuliang,wuzibh from CaiJuLeiWuZi where wuzibh = 'long'"还是不对?提示"标准表达式中数据类型不匹配"
我要怎么办,请高手解救!