谁知道Error creating cursor handle这个错误怎么解决?

2025-05-30 04:21:22
推荐回答(3个)
回答1:

with Q_GetPrjName do begin SQL.Add('values('+quotedstr(E_P_ID.Text)+','+quotedstr(E_S_ID.Text)+','+quotedstr(E_NewPName.Text)+','+quotedstr(E_S_Name.Text)+','+'''0000'''+','+quotedstr(M_P_Memo.lines.commatext)+')'); close; Sql.Clear; SQL.Add('insert into Project(P_ID,S_ID,P_name,S_name,PS_ID,P_Memo)'); open;//这里出现缺点! end

回答2:

哈哈,这个问题问的太蠢了,感谢dhl2001(我爱benz)!不过你的谜底也纰谬!应当是ExecSQL,不过分照样你的! 

回答3:

请多多谅解我已经良久不消了delphi了,