风
风子
Unregistered / Unconfirmed
GUEST, unregistred user!
后台sql7数据timu和anwser是varchar;
前台 with query do
close;
sql.clear;
sql.add('update tiku');
sql.add('insert into tiku(kmfl,tx,ndxs,fenzi,timu,answer)');
sql.add('valueskmfl,:tx,:ndxs,:fenzi,:timu,:anwser)');
...................................
...................................
parameters.parambyname('timu').value:=memoTimu.Text;
parameters.parambyname('anwser').value:=memoAnswer.text;
其中query的parameter属性中timu和anwser的类型应是?
前台 with query do
close;
sql.clear;
sql.add('update tiku');
sql.add('insert into tiku(kmfl,tx,ndxs,fenzi,timu,answer)');
sql.add('valueskmfl,:tx,:ndxs,:fenzi,:timu,:anwser)');
...................................
...................................
parameters.parambyname('timu').value:=memoTimu.Text;
parameters.parambyname('anwser').value:=memoAnswer.text;
其中query的parameter属性中timu和anwser的类型应是?