Fórum Imrimir Seleção #270025
24/02/2005
0
var I: Integer; BookmarkList: TBookmarkList; Bookmark: TBookmarkStr; begin Bookmark := FRelCarCTarja.QrPF.Bookmark; try ListBox1.Clear; BookmarkList := DbGrid1.SelectedRows; for I := 0 to BookmarkList.Count - 1 do begin FRelCarCTarja.QrPF.Bookmark := BookmarkList[I]; ListBox1.Items.Add(FRelCarCTarja.QrPF.FieldValues[´NOME´]); end; finally FRelCarCTarja.QrPF.Bookmark := Bookmark; end; end;
Marcos-rj
Curtir tópico
+ 0Posts
24/02/2005
Leanribas
procedure TForm2.QRSubDetail1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
begin
if Form1.DBGrid1.SelectedRows.CurrentRowSelected then
PrintBand := true
else
PrintBand := false;
end;
end.
falou
Leandro
Gostei + 0
24/02/2005
Leanribas
procedure TForm2.QRSubDetail1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
begin
if Form1.DBGrid1.SelectedRows.CurrentRowSelected then
PrintBand := true
else
PrintBand := false;
end;
end.
falou
Leandro
Gostei + 0
24/02/2005
Leanribas
procedure TForm2.QRSubDetail1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
begin
if Form1.DBGrid1.SelectedRows.CurrentRowSelected then
PrintBand := true
else
PrintBand := false;
end;
end.
falou
Leandro
Gostei + 0
24/02/2005
Marcos-rj
Era isso mesmo! valew kra!!!!!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)