Курсовая работа: Создание базы данных "Wc3 Cybersport Data Base"
procedure Button3Click(Sender: TObject);
procedure FormActivate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form2: TForm2;
LabelMassive : array[0..100] of TQRLabel;
TextMassive : array[0..100] of TQRDBText;
implementation
uses Unit1;
{$R *.dfm}
procedure TForm2.Button1Click(Sender: TObject);
begin
quickrep1.preview;
end;
procedure TForm2.Button2Click(Sender: TObject);
var
x,y,i:integer;
begin
Title.Caption:=Form1.Name;
// Buildind Report
Form1.MyQuery1.First;
for x:=0 to Form1.DBGrid1.Columns.Count-1 do begin
LabelMassive[x]:=TQRLabel.Create(form2);
LabelMassive[x].Parent:=Columnheaderband1;
LabelMassive[x].Font.Style:=[fsbold];