Q
qj_01
Unregistered / Unconfirmed
GUEST, unregistred user!
取数代码如下:
procedure TF_RPT_BFJL.FormCreate(Sender: TObject);
var
s, s1, s2: string;
i: integer;
begin
with f_reca_dm.qy_wangy do
begin
close;
sql.Clear;
sql.Add('select dw_no,bffs,lx,link,email,gjzt from bfjl');
open;
S1 := fieldbyname('dw_no').AsString;
QRDBText1.Caption := fieldbyname('dw_no').AsString;
QRDBText2.Caption := fieldbyname('bffs').AsString;
QRDBText3.Caption := fieldbyname('lx').AsString;
QRDBText4.Caption := fieldbyname('link').AsString;
QRDBText5.Caption := fieldbyname('email').AsString;
QRDBText6.Caption := fieldbyname('gjzt').AsString;
close;
end;
end;
我的表里有十条记录,但是只显示出第一条?
procedure TF_RPT_BFJL.FormCreate(Sender: TObject);
var
s, s1, s2: string;
i: integer;
begin
with f_reca_dm.qy_wangy do
begin
close;
sql.Clear;
sql.Add('select dw_no,bffs,lx,link,email,gjzt from bfjl');
open;
S1 := fieldbyname('dw_no').AsString;
QRDBText1.Caption := fieldbyname('dw_no').AsString;
QRDBText2.Caption := fieldbyname('bffs').AsString;
QRDBText3.Caption := fieldbyname('lx').AsString;
QRDBText4.Caption := fieldbyname('link').AsString;
QRDBText5.Caption := fieldbyname('email').AsString;
QRDBText6.Caption := fieldbyname('gjzt').AsString;
close;
end;
end;
我的表里有十条记录,但是只显示出第一条?