壹
壹切随枫
Unregistered / Unconfirmed
GUEST, unregistred user!
with Qs dobegins:='insert into JinHuo(类型,名称) valusesv, :sv1)'; close; sql.Clear; sql.Add(s);str1:=sql.Text; //这里看str1显示的是strq:='insert into JinHuo(类型,名称) valusesv, :sv1)'#$D#$A (怎么多了这么个东东"#$D#$A")? Parameters[0].Value:=fv.lb; Parameters[1].Value:=fv.hm; try ExecSQL; //这里提示insert into有语法错误 result:=1; except close; result:=0; end;end;