问ADOQuery1:Missing SQL Property出错在哪里啊?附上源程序 5
procedureTForm1.Button1Click(Sender:TObject);beginadoquery1.Open;adoquery1.Append;ado...
procedure TForm1.Button1Click(Sender: TObject);
begin
adoquery1.Open;
adoquery1.Append;
adoquery1.SQL.Add('select * from FP where XLH = ''1');
ADOQUERY1.Open;
ADOQUERY1.First;
LABEL18.Caption:= adoquery1.FieldByName('FPHM').AsString;
adoquery1.Post;
beep;
edit3.Text:=inttostr(strtoint(edit3.Text)+1);
end; 展开
begin
adoquery1.Open;
adoquery1.Append;
adoquery1.SQL.Add('select * from FP where XLH = ''1');
ADOQUERY1.Open;
ADOQUERY1.First;
LABEL18.Caption:= adoquery1.FieldByName('FPHM').AsString;
adoquery1.Post;
beep;
edit3.Text:=inttostr(strtoint(edit3.Text)+1);
end; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询