P
phenix_sd
Unregistered / Unconfirmed
GUEST, unregistred user!
ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add('select * from p1 where pid=1');
ADOQuery1.ExecSQL;
adoquery与adoconnetion相连通过odbc与sql server相连,默认数据库为t1,
表p1在数据库t1中,表中有pid为1的纪录,想使用检索出来的数据,编译通过,
但发现adoquery1的fields为空???........
ADOQuery1.SQL.Add('select * from p1 where pid=1');
ADOQuery1.ExecSQL;
adoquery与adoconnetion相连通过odbc与sql server相连,默认数据库为t1,
表p1在数据库t1中,表中有pid为1的纪录,想使用检索出来的数据,编译通过,
但发现adoquery1的fields为空???........