小
小毛孩
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure Tmy_Form4.insert_XXX;
begin
with my_Form4.adoquery1 do //写XXX表
begin
close;
sql.Clear;
sql.text:='insert into use_data(user,mima) '
+' valuesa0, :a1)';
Parameters[0].Value :=trim(edit4.Text);
Parameters[1].Value :=strtoint(trim(edit2.Text));
prepared;
execsql;
end;
end;
这段话编译通过,但运行到此就出现错误,提示为“insert into语句的语法错误”?
救命啊!!!
begin
with my_Form4.adoquery1 do //写XXX表
begin
close;
sql.Clear;
sql.text:='insert into use_data(user,mima) '
+' valuesa0, :a1)';
Parameters[0].Value :=trim(edit4.Text);
Parameters[1].Value :=strtoint(trim(edit2.Text));
prepared;
execsql;
end;
end;
这段话编译通过,但运行到此就出现错误,提示为“insert into语句的语法错误”?
救命啊!!!