T
tt123tt
Unregistered / Unconfirmed
GUEST, unregistred user!
用ADOQuery2向数据库里添加下面内容时出错,我想是应该是 ' 的全角和半角的问题怎样解好呀?
sql语句是:
sql:='insert into ren (aa,bb,cc,dd,ee) values ("'+Edit1.text+' ","'+Edit2.text+' ","'+Edit3.text+' ","'+Memo1.text+' ")'
添加以下内容时出错:
if CompactAndRepair('e:/Old.mdb', 'e:/New.mdb') then
ShowMessage('Successfully')
else
ShowMessage('Error…');
sql语句是:
sql:='insert into ren (aa,bb,cc,dd,ee) values ("'+Edit1.text+' ","'+Edit2.text+' ","'+Edit3.text+' ","'+Memo1.text+' ")'
添加以下内容时出错:
if CompactAndRepair('e:/Old.mdb', 'e:/New.mdb') then
ShowMessage('Successfully')
else
ShowMessage('Error…');