P
peizmbj
Unregistered / Unconfirmed
GUEST, unregistred user!
insert into OrdBillSub(BillNo,Flag,RowNo,KProduct,Qty,'
+' countPrePrice,discount,price,cess,scot,OutDate,sSum,TaxMoney,'
+' Present,split,sMemo,dBundleRecede,'
+' dBundleBarter,dKeepFix,FromBillType,FromBillNo)'
+' select '+#39+Trim(cxdbedtCode.Text) #399+',4,RowNo,ProdCode,Qty,'
+' countPrePrice,discount,price,cess,scot,OutDate,sSum,TaxMoney,'
+' Present,split,sMemo,dBundleRecede,dBundleBarter,dKeepFix,'
+' FromBillType,FromBillNo from ##temp_bbfx');
以上SQL语句在SQL 查询分析器里执行正常。 为什么在Adoquery 组件执行就会提示
"could not convert variant of type(Null) into type (Double)" ;
应该如何解决?谢谢;;;;
+' countPrePrice,discount,price,cess,scot,OutDate,sSum,TaxMoney,'
+' Present,split,sMemo,dBundleRecede,'
+' dBundleBarter,dKeepFix,FromBillType,FromBillNo)'
+' select '+#39+Trim(cxdbedtCode.Text) #399+',4,RowNo,ProdCode,Qty,'
+' countPrePrice,discount,price,cess,scot,OutDate,sSum,TaxMoney,'
+' Present,split,sMemo,dBundleRecede,dBundleBarter,dKeepFix,'
+' FromBillType,FromBillNo from ##temp_bbfx');
以上SQL语句在SQL 查询分析器里执行正常。 为什么在Adoquery 组件执行就会提示
"could not convert variant of type(Null) into type (Double)" ;
应该如何解决?谢谢;;;;