三级数据库查询出错,求救!
bhamy 2005-06-30 08:56:58 我的查询代码:
begin
if edit1.Text='' then
showmessage('请入图书证号')
else
begin
F_DM.Cds_clsoder.Close;
F_DM.Cds_clsoder.CommandText:='select * from clsoder where class_master='+edit1.Text;
F_DM.Cds_clsoder.Execute;
F_DM.Cds_clsoder.Open;
F_DM.Cds_clsoder.Refresh;
end;
end;
查询结果出错提示:project client.exe raise exception class EOleException with message '列名'11225'无效'。process stop....
无法查到当图书证号为:11225时所有的对应记录。请高手指点。谢谢!