求助 为什么输入数据不能存进数据库
real totalsl1,je1string totalypbh,totalsl,totalsl2,je2
string gysqc,jsr,czy,rkph,rkrq,jsfs,ypbh,ckmc,ypmc,jc,jx,hw,cd,gg,bz,dw,sb,pzwh,ph,jj,pfj,yhj,lsj,sl,je
gysqc=string(trim(ddlb_1.text))
czy=ddlb_3.text
rkph=em_2.text
rkrq=em_1.text
ypbh=ddlb_5.text
ckmc=sle_4.text
ypmc=sle_5.text
jx=sle_7.text
cd=sle_9.text
gg=sle_10.text
dw=sle_12.text
sb=sle_13.text
pzwh=sle_14.text
ph=sle_15.text
jj=em_3.text
sl=string(sle_16.text)
je1=real(jj)*long(sl)
je2=string(je1)
em_7.text=je2
je=em_7.text
//保存数据
insert into rkdj_tab(gysqc,jsr,czy,rkph,rkrq,jsfs,ypbh,ckmc,ypmc,jc,jx,hw,cd,gg,bz,dw,sb,pzwh,ph,jj,pfj,yhj,lsj,sl,je) values (:gysqc,:jsr,:czy,:rkph,:rkrq,:jsfs,:ypbh,:ckmc,:ypmc,:jc,:jx,:hw,:cd,:gg,:bz,:dw,:sb,:pzwh,:ph,:jj,:pfj,:yhj,:lsj,:sl,:je);
这是原代码 高手看看