unit didim_main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm_Main = class(TForm)
Button1: TButton;
OpenDialog1: TOpenDialog;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form_Main: TForm_Main;
implementation
uses Didim_in_list;
{$R *.DFM}
procedure TForm_Main.Button1Click(Sender: TObject);
type
TDb_Rec = record
slocal_nm:string[31];
sloc_cd:string[2];
sschl_nm:string[14];
sschl_cd1:string[2];
sschl_cd2:string[2];
end;
var
I,K,Cnt,j,kk : Integer;
local_nm,loc_cd,school_nm,schl_cd,schl_cd1,schl_cd2 : string;
//tst_levl, cust_ban, sex, home_phone, addr1, addr2, birth1, birth2, receipt, receipt_day :string;
Db_Rec : Array[0..248] of TDb_Rec;
Total: Integer;
No, Grde, Ban, Sex, Brth, Name : string;
FP : Textfile;
Buf : String;
begin
j := 0;
Cnt := 0;
if OpenDialog1.Execute then
begin
AssignFile(FP,OpenDialog1.FileName);
Reset(FP);
While not Eof(FP) do
Begin
local_nm :=''; loc_cd :=''; school_nm :=''; schl_cd :=''; schl_cd1 :=''; schl_cd2:='';
Readln(FP,Buf);
K:=0;
for I:=1 to Length(buf) do
if buf[I] = ',' then
K := K + 1
else if K = 4 then
break
else if K = 0 then
local_nm := local_nm + Buf[i]
else if K = 1 then
loc_cd := loc_cd + buf[i]
else if K = 2 then
school_nm := school_nm + buf[i]
else if K = 3 then
schl_cd := schl_cd + buf[i];
local_nm := Trim(local_nm);
loc_cd := Trim(loc_cd);
school_nm := Trim(school_nm);
schl_cd1 := copy(Trim(schl_cd),1,2);
schl_cd2 := copy(Trim(schl_cd),4,2);
Db_Rec[Cnt].slocal_nm := local_nm;
Db_Rec[Cnt].sloc_cd := loc_cd;
Db_Rec[Cnt].sschl_nm := school_nm;
Db_Rec[Cnt].sschl_cd1 := schl_cd1;
Db_Rec[Cnt].sschl_cd2 := schl_cd2;
Cnt := Cnt + 1;
end;
end;
CloseFile(FP);
if (form_Qre_in = nil) or (not Form_Qre_in.handleAllocated)then
form_Qre_in := Tform_Qre_in.create(Application);
for i:=0 to Cnt do
begin
if Db_Rec[i].slocal_nm <> '' then
local_nm := Db_Rec[i].slocal_nm;
loc_cd := Db_Rec[i].sloc_cd;
school_nm := Db_Rec[i].sschl_nm;
schl_cd := Db_Rec[i].sschl_cd1 + Db_Rec[i].sschl_cd2;
Form_Qre_in.QRLabel4.Caption := local_nm;
Form_Qre_in.QRLabel5.Caption := school_nm;
Form_Qre_in.QRLabel6.Caption := '(3학년용)';
Form_Qre_in.QR12.Caption := schl_cd + '-13-' + '001';
Form_Qre_in.QR22.Caption := schl_cd + '-13-' + '002';
Form_Qre_in.QR32.Caption := schl_cd + '-13-' + '003';
Form_Qre_in.QR42.Caption := schl_cd + '-13-' + '004';
Form_Qre_in.QR52.Caption := schl_cd + '-13-' + '005';
Form_Qre_in.QR62.Caption := schl_cd + '-13-' + '006';
Form_Qre_in.QR72.Caption := schl_cd + '-13-' + '007';
Form_Qre_in.QR82.Caption := schl_cd + '-13-' + '008';
Form_Qre_in.QR92.Caption := schl_cd + '-13-' + '009';
Form_Qre_in.QR102.Caption := schl_cd + '-13-' + '010';
Form_Qre_in.QR112.Caption := schl_cd + '-13-' + '011';
Form_Qre_in.QR122.Caption := schl_cd + '-13-' + '012';
Form_Qre_in.QR132.Caption := schl_cd + '-13-' + '013';
Form_Qre_in.QR142.Caption := schl_cd + '-13-' + '014';
Form_Qre_in.QR152.Caption := schl_cd + '-13-' + '015';
Form_Qre_in.QR162.Caption := schl_cd + '-13-' + '016';
Form_Qre_in.QR172.Caption := schl_cd + '-13-' + '017';
Form_Qre_in.QR182.Caption := schl_cd + '-13-' + '018';
Form_Qre_in.QR192.Caption := schl_cd + '-13-' + '019';
Form_Qre_in.QR202.Caption := schl_cd + '-13-' + '020';
Form_Qre_in.QR212.Caption := schl_cd + '-13-' + '021';
Form_Qre_in.QR222.Caption := schl_cd + '-13-' + '022';
Form_Qre_in.QR232.Caption := schl_cd + '-13-' + '023';
Form_Qre_in.QR242.Caption := schl_cd + '-13-' + '024';
Form_Qre_in.QR252.Caption := schl_cd + '-13-' + '025';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QR11.Caption := '26';
Form_Qre_in.QR21.Caption := '27';
Form_Qre_in.QR31.Caption := '28';
Form_Qre_in.QR41.Caption := '29';
Form_Qre_in.QR51.Caption := '30';
Form_Qre_in.QR61.Caption := '31';
Form_Qre_in.QR71.Caption := '32';
Form_Qre_in.QR81.Caption := '33';
Form_Qre_in.QR91.Caption := '34';
Form_Qre_in.QR101.Caption := '35';
Form_Qre_in.QR111.Caption := '36';
Form_Qre_in.QR121.Caption := '37';
Form_Qre_in.QR131.Caption := '38';
Form_Qre_in.QR141.Caption := '39';
Form_Qre_in.QR151.Caption := '40';
Form_Qre_in.QR161.Caption := '41';
Form_Qre_in.QR171.Caption := '42';
Form_Qre_in.QR181.Caption := '43';
Form_Qre_in.QR191.Caption := '44';
Form_Qre_in.QR201.Caption := '45';
Form_Qre_in.QR211.Caption := '46';
Form_Qre_in.QR221.Caption := '47';
Form_Qre_in.QR231.Caption := '48';
Form_Qre_in.QR241.Caption := '49';
Form_Qre_in.QR251.Caption := '50';
Form_Qre_in.QR12.Caption := schl_cd + '-13-' + '026';
Form_Qre_in.QR22.Caption := schl_cd + '-13-' + '027';
Form_Qre_in.QR32.Caption := schl_cd + '-13-' + '028';
Form_Qre_in.QR42.Caption := schl_cd + '-13-' + '029';
Form_Qre_in.QR52.Caption := schl_cd + '-13-' + '030';
Form_Qre_in.QR62.Caption := schl_cd + '-13-' + '031';
Form_Qre_in.QR72.Caption := schl_cd + '-13-' + '032';
Form_Qre_in.QR82.Caption := schl_cd + '-13-' + '033';
Form_Qre_in.QR92.Caption := schl_cd + '-13-' + '034';
Form_Qre_in.QR102.Caption := schl_cd + '-13-' + '035';
Form_Qre_in.QR112.Caption := schl_cd + '-13-' + '036';
Form_Qre_in.QR122.Caption := schl_cd + '-13-' + '037';
Form_Qre_in.QR132.Caption := schl_cd + '-13-' + '038';
Form_Qre_in.QR142.Caption := schl_cd + '-13-' + '039';
Form_Qre_in.QR152.Caption := schl_cd + '-13-' + '040';
Form_Qre_in.QR162.Caption := schl_cd + '-13-' + '041';
Form_Qre_in.QR172.Caption := schl_cd + '-13-' + '042';
Form_Qre_in.QR182.Caption := schl_cd + '-13-' + '043';
Form_Qre_in.QR192.Caption := schl_cd + '-13-' + '044';
Form_Qre_in.QR202.Caption := schl_cd + '-13-' + '045';
Form_Qre_in.QR212.Caption := schl_cd + '-13-' + '046';
Form_Qre_in.QR222.Caption := schl_cd + '-13-' + '047';
Form_Qre_in.QR232.Caption := schl_cd + '-13-' + '048';
Form_Qre_in.QR242.Caption := schl_cd + '-13-' + '049';
Form_Qre_in.QR252.Caption := schl_cd + '-13-' + '050';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QRLabel6.Caption := '(4학년용)';
Form_Qre_in.QR11.Caption := '1';
Form_Qre_in.QR21.Caption := '2';
Form_Qre_in.QR31.Caption := '3';
Form_Qre_in.QR41.Caption := '4';
Form_Qre_in.QR51.Caption := '5';
Form_Qre_in.QR61.Caption := '6';
Form_Qre_in.QR71.Caption := '7';
Form_Qre_in.QR81.Caption := '8';
Form_Qre_in.QR91.Caption := '9';
Form_Qre_in.QR101.Caption := '10';
Form_Qre_in.QR111.Caption := '11';
Form_Qre_in.QR121.Caption := '12';
Form_Qre_in.QR131.Caption := '13';
Form_Qre_in.QR141.Caption := '14';
Form_Qre_in.QR151.Caption := '15';
Form_Qre_in.QR161.Caption := '16';
Form_Qre_in.QR171.Caption := '17';
Form_Qre_in.QR181.Caption := '18';
Form_Qre_in.QR191.Caption := '19';
Form_Qre_in.QR201.Caption := '20';
Form_Qre_in.QR211.Caption := '21';
Form_Qre_in.QR221.Caption := '22';
Form_Qre_in.QR231.Caption := '23';
Form_Qre_in.QR241.Caption := '24';
Form_Qre_in.QR251.Caption := '25';
Form_Qre_in.QR12.Caption := schl_cd + '-14-' + '001';
Form_Qre_in.QR22.Caption := schl_cd + '-14-' + '002';
Form_Qre_in.QR32.Caption := schl_cd + '-14-' + '003';
Form_Qre_in.QR42.Caption := schl_cd + '-14-' + '004';
Form_Qre_in.QR52.Caption := schl_cd + '-14-' + '005';
Form_Qre_in.QR62.Caption := schl_cd + '-14-' + '006';
Form_Qre_in.QR72.Caption := schl_cd + '-14-' + '007';
Form_Qre_in.QR82.Caption := schl_cd + '-14-' + '008';
Form_Qre_in.QR92.Caption := schl_cd + '-14-' + '009';
Form_Qre_in.QR102.Caption := schl_cd + '-14-' + '010';
Form_Qre_in.QR112.Caption := schl_cd + '-14-' + '011';
Form_Qre_in.QR122.Caption := schl_cd + '-14-' + '012';
Form_Qre_in.QR132.Caption := schl_cd + '-14-' + '013';
Form_Qre_in.QR142.Caption := schl_cd + '-14-' + '014';
Form_Qre_in.QR152.Caption := schl_cd + '-14-' + '015';
Form_Qre_in.QR162.Caption := schl_cd + '-14-' + '016';
Form_Qre_in.QR172.Caption := schl_cd + '-14-' + '017';
Form_Qre_in.QR182.Caption := schl_cd + '-14-' + '018';
Form_Qre_in.QR192.Caption := schl_cd + '-14-' + '019';
Form_Qre_in.QR202.Caption := schl_cd + '-14-' + '020';
Form_Qre_in.QR212.Caption := schl_cd + '-14-' + '021';
Form_Qre_in.QR222.Caption := schl_cd + '-14-' + '022';
Form_Qre_in.QR232.Caption := schl_cd + '-14-' + '023';
Form_Qre_in.QR242.Caption := schl_cd + '-14-' + '024';
Form_Qre_in.QR252.Caption := schl_cd + '-14-' + '025';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QR11.Caption := '26';
Form_Qre_in.QR21.Caption := '27';
Form_Qre_in.QR31.Caption := '28';
Form_Qre_in.QR41.Caption := '29';
Form_Qre_in.QR51.Caption := '30';
Form_Qre_in.QR61.Caption := '31';
Form_Qre_in.QR71.Caption := '32';
Form_Qre_in.QR81.Caption := '33';
Form_Qre_in.QR91.Caption := '34';
Form_Qre_in.QR101.Caption := '35';
Form_Qre_in.QR111.Caption := '36';
Form_Qre_in.QR121.Caption := '37';
Form_Qre_in.QR131.Caption := '38';
Form_Qre_in.QR141.Caption := '39';
Form_Qre_in.QR151.Caption := '40';
Form_Qre_in.QR161.Caption := '41';
Form_Qre_in.QR171.Caption := '42';
Form_Qre_in.QR181.Caption := '43';
Form_Qre_in.QR191.Caption := '44';
Form_Qre_in.QR201.Caption := '45';
Form_Qre_in.QR211.Caption := '46';
Form_Qre_in.QR221.Caption := '47';
Form_Qre_in.QR231.Caption := '48';
Form_Qre_in.QR241.Caption := '49';
Form_Qre_in.QR251.Caption := '50';
Form_Qre_in.QR12.Caption := schl_cd + '-14-' + '026';
Form_Qre_in.QR22.Caption := schl_cd + '-14-' + '027';
Form_Qre_in.QR32.Caption := schl_cd + '-14-' + '028';
Form_Qre_in.QR42.Caption := schl_cd + '-14-' + '029';
Form_Qre_in.QR52.Caption := schl_cd + '-14-' + '030';
Form_Qre_in.QR62.Caption := schl_cd + '-14-' + '031';
Form_Qre_in.QR72.Caption := schl_cd + '-14-' + '032';
Form_Qre_in.QR82.Caption := schl_cd + '-14-' + '033';
Form_Qre_in.QR92.Caption := schl_cd + '-14-' + '034';
Form_Qre_in.QR102.Caption := schl_cd + '-14-' + '035';
Form_Qre_in.QR112.Caption := schl_cd + '-14-' + '036';
Form_Qre_in.QR122.Caption := schl_cd + '-14-' + '037';
Form_Qre_in.QR132.Caption := schl_cd + '-14-' + '038';
Form_Qre_in.QR142.Caption := schl_cd + '-14-' + '039';
Form_Qre_in.QR152.Caption := schl_cd + '-14-' + '040';
Form_Qre_in.QR162.Caption := schl_cd + '-14-' + '041';
Form_Qre_in.QR172.Caption := schl_cd + '-14-' + '042';
Form_Qre_in.QR182.Caption := schl_cd + '-14-' + '043';
Form_Qre_in.QR192.Caption := schl_cd + '-14-' + '044';
Form_Qre_in.QR202.Caption := schl_cd + '-14-' + '045';
Form_Qre_in.QR212.Caption := schl_cd + '-14-' + '046';
Form_Qre_in.QR222.Caption := schl_cd + '-14-' + '047';
Form_Qre_in.QR232.Caption := schl_cd + '-14-' + '048';
Form_Qre_in.QR242.Caption := schl_cd + '-14-' + '049';
Form_Qre_in.QR252.Caption := schl_cd + '-14-' + '050';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QRLabel6.Caption := '(5학년용)';
Form_Qre_in.QR11.Caption := '1';
Form_Qre_in.QR21.Caption := '2';
Form_Qre_in.QR31.Caption := '3';
Form_Qre_in.QR41.Caption := '4';
Form_Qre_in.QR51.Caption := '5';
Form_Qre_in.QR61.Caption := '6';
Form_Qre_in.QR71.Caption := '7';
Form_Qre_in.QR81.Caption := '8';
Form_Qre_in.QR91.Caption := '9';
Form_Qre_in.QR101.Caption := '10';
Form_Qre_in.QR111.Caption := '11';
Form_Qre_in.QR121.Caption := '12';
Form_Qre_in.QR131.Caption := '13';
Form_Qre_in.QR141.Caption := '14';
Form_Qre_in.QR151.Caption := '15';
Form_Qre_in.QR161.Caption := '16';
Form_Qre_in.QR171.Caption := '17';
Form_Qre_in.QR181.Caption := '18';
Form_Qre_in.QR191.Caption := '19';
Form_Qre_in.QR201.Caption := '20';
Form_Qre_in.QR211.Caption := '21';
Form_Qre_in.QR221.Caption := '22';
Form_Qre_in.QR231.Caption := '23';
Form_Qre_in.QR241.Caption := '24';
Form_Qre_in.QR251.Caption := '25';
Form_Qre_in.QR12.Caption := schl_cd + '-15-' + '001';
Form_Qre_in.QR22.Caption := schl_cd + '-15-' + '002';
Form_Qre_in.QR32.Caption := schl_cd + '-15-' + '003';
Form_Qre_in.QR42.Caption := schl_cd + '-15-' + '004';
Form_Qre_in.QR52.Caption := schl_cd + '-15-' + '005';
Form_Qre_in.QR62.Caption := schl_cd + '-15-' + '006';
Form_Qre_in.QR72.Caption := schl_cd + '-15-' + '007';
Form_Qre_in.QR82.Caption := schl_cd + '-15-' + '008';
Form_Qre_in.QR92.Caption := schl_cd + '-15-' + '009';
Form_Qre_in.QR102.Caption := schl_cd + '-15-' + '010';
Form_Qre_in.QR112.Caption := schl_cd + '-15-' + '011';
Form_Qre_in.QR122.Caption := schl_cd + '-15-' + '012';
Form_Qre_in.QR132.Caption := schl_cd + '-15-' + '013';
Form_Qre_in.QR142.Caption := schl_cd + '-15-' + '014';
Form_Qre_in.QR152.Caption := schl_cd + '-15-' + '015';
Form_Qre_in.QR162.Caption := schl_cd + '-15-' + '016';
Form_Qre_in.QR172.Caption := schl_cd + '-15-' + '017';
Form_Qre_in.QR182.Caption := schl_cd + '-15-' + '018';
Form_Qre_in.QR192.Caption := schl_cd + '-15-' + '019';
Form_Qre_in.QR202.Caption := schl_cd + '-15-' + '020';
Form_Qre_in.QR212.Caption := schl_cd + '-15-' + '021';
Form_Qre_in.QR222.Caption := schl_cd + '-15-' + '022';
Form_Qre_in.QR232.Caption := schl_cd + '-15-' + '023';
Form_Qre_in.QR242.Caption := schl_cd + '-15-' + '024';
Form_Qre_in.QR252.Caption := schl_cd + '-15-' + '025';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QR11.Caption := '26';
Form_Qre_in.QR21.Caption := '27';
Form_Qre_in.QR31.Caption := '28';
Form_Qre_in.QR41.Caption := '29';
Form_Qre_in.QR51.Caption := '30';
Form_Qre_in.QR61.Caption := '31';
Form_Qre_in.QR71.Caption := '32';
Form_Qre_in.QR81.Caption := '33';
Form_Qre_in.QR91.Caption := '34';
Form_Qre_in.QR101.Caption := '35';
Form_Qre_in.QR111.Caption := '36';
Form_Qre_in.QR121.Caption := '37';
Form_Qre_in.QR131.Caption := '38';
Form_Qre_in.QR141.Caption := '39';
Form_Qre_in.QR151.Caption := '40';
Form_Qre_in.QR161.Caption := '41';
Form_Qre_in.QR171.Caption := '42';
Form_Qre_in.QR181.Caption := '43';
Form_Qre_in.QR191.Caption := '44';
Form_Qre_in.QR201.Caption := '45';
Form_Qre_in.QR211.Caption := '46';
Form_Qre_in.QR221.Caption := '47';
Form_Qre_in.QR231.Caption := '48';
Form_Qre_in.QR241.Caption := '49';
Form_Qre_in.QR251.Caption := '50';
Form_Qre_in.QR12.Caption := schl_cd + '-15-' + '026';
Form_Qre_in.QR22.Caption := schl_cd + '-15-' + '027';
Form_Qre_in.QR32.Caption := schl_cd + '-15-' + '028';
Form_Qre_in.QR42.Caption := schl_cd + '-15-' + '029';
Form_Qre_in.QR52.Caption := schl_cd + '-15-' + '030';
Form_Qre_in.QR62.Caption := schl_cd + '-15-' + '031';
Form_Qre_in.QR72.Caption := schl_cd + '-15-' + '032';
Form_Qre_in.QR82.Caption := schl_cd + '-15-' + '033';
Form_Qre_in.QR92.Caption := schl_cd + '-15-' + '034';
Form_Qre_in.QR102.Caption := schl_cd + '-15-' + '035';
Form_Qre_in.QR112.Caption := schl_cd + '-15-' + '036';
Form_Qre_in.QR122.Caption := schl_cd + '-15-' + '037';
Form_Qre_in.QR132.Caption := schl_cd + '-15-' + '038';
Form_Qre_in.QR142.Caption := schl_cd + '-15-' + '039';
Form_Qre_in.QR152.Caption := schl_cd + '-15-' + '040';
Form_Qre_in.QR162.Caption := schl_cd + '-15-' + '041';
Form_Qre_in.QR172.Caption := schl_cd + '-15-' + '042';
Form_Qre_in.QR182.Caption := schl_cd + '-15-' + '043';
Form_Qre_in.QR192.Caption := schl_cd + '-15-' + '044';
Form_Qre_in.QR202.Caption := schl_cd + '-15-' + '045';
Form_Qre_in.QR212.Caption := schl_cd + '-15-' + '046';
Form_Qre_in.QR222.Caption := schl_cd + '-15-' + '047';
Form_Qre_in.QR232.Caption := schl_cd + '-15-' + '048';
Form_Qre_in.QR242.Caption := schl_cd + '-15-' + '049';
Form_Qre_in.QR252.Caption := schl_cd + '-15-' + '050';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QRLabel6.Caption := '(6학년용)';
Form_Qre_in.QR11.Caption := '1';
Form_Qre_in.QR21.Caption := '2';
Form_Qre_in.QR31.Caption := '3';
Form_Qre_in.QR41.Caption := '4';
Form_Qre_in.QR51.Caption := '5';
Form_Qre_in.QR61.Caption := '6';
Form_Qre_in.QR71.Caption := '7';
Form_Qre_in.QR81.Caption := '8';
Form_Qre_in.QR91.Caption := '9';
Form_Qre_in.QR101.Caption := '10';
Form_Qre_in.QR111.Caption := '11';
Form_Qre_in.QR121.Caption := '12';
Form_Qre_in.QR131.Caption := '13';
Form_Qre_in.QR141.Caption := '14';
Form_Qre_in.QR151.Caption := '15';
Form_Qre_in.QR161.Caption := '16';
Form_Qre_in.QR171.Caption := '17';
Form_Qre_in.QR181.Caption := '18';
Form_Qre_in.QR191.Caption := '19';
Form_Qre_in.QR201.Caption := '20';
Form_Qre_in.QR211.Caption := '21';
Form_Qre_in.QR221.Caption := '22';
Form_Qre_in.QR231.Caption := '23';
Form_Qre_in.QR241.Caption := '24';
Form_Qre_in.QR251.Caption := '25';
Form_Qre_in.QR12.Caption := schl_cd + '-16-' + '001';
Form_Qre_in.QR22.Caption := schl_cd + '-16-' + '002';
Form_Qre_in.QR32.Caption := schl_cd + '-16-' + '003';
Form_Qre_in.QR42.Caption := schl_cd + '-16-' + '004';
Form_Qre_in.QR52.Caption := schl_cd + '-16-' + '005';
Form_Qre_in.QR62.Caption := schl_cd + '-16-' + '006';
Form_Qre_in.QR72.Caption := schl_cd + '-16-' + '007';
Form_Qre_in.QR82.Caption := schl_cd + '-16-' + '008';
Form_Qre_in.QR92.Caption := schl_cd + '-16-' + '009';
Form_Qre_in.QR102.Caption := schl_cd + '-16-' + '010';
Form_Qre_in.QR112.Caption := schl_cd + '-16-' + '011';
Form_Qre_in.QR122.Caption := schl_cd + '-16-' + '012';
Form_Qre_in.QR132.Caption := schl_cd + '-16-' + '013';
Form_Qre_in.QR142.Caption := schl_cd + '-16-' + '014';
Form_Qre_in.QR152.Caption := schl_cd + '-16-' + '015';
Form_Qre_in.QR162.Caption := schl_cd + '-16-' + '016';
Form_Qre_in.QR172.Caption := schl_cd + '-16-' + '017';
Form_Qre_in.QR182.Caption := schl_cd + '-16-' + '018';
Form_Qre_in.QR192.Caption := schl_cd + '-16-' + '019';
Form_Qre_in.QR202.Caption := schl_cd + '-16-' + '020';
Form_Qre_in.QR212.Caption := schl_cd + '-16-' + '021';
Form_Qre_in.QR222.Caption := schl_cd + '-16-' + '022';
Form_Qre_in.QR232.Caption := schl_cd + '-16-' + '023';
Form_Qre_in.QR242.Caption := schl_cd + '-16-' + '024';
Form_Qre_in.QR252.Caption := schl_cd + '-16-' + '025';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
Form_Qre_in.QR11.Caption := '26';
Form_Qre_in.QR21.Caption := '27';
Form_Qre_in.QR31.Caption := '28';
Form_Qre_in.QR41.Caption := '29';
Form_Qre_in.QR51.Caption := '30';
Form_Qre_in.QR61.Caption := '31';
Form_Qre_in.QR71.Caption := '32';
Form_Qre_in.QR81.Caption := '33';
Form_Qre_in.QR91.Caption := '34';
Form_Qre_in.QR101.Caption := '35';
Form_Qre_in.QR111.Caption := '36';
Form_Qre_in.QR121.Caption := '37';
Form_Qre_in.QR131.Caption := '38';
Form_Qre_in.QR141.Caption := '39';
Form_Qre_in.QR151.Caption := '40';
Form_Qre_in.QR161.Caption := '41';
Form_Qre_in.QR171.Caption := '42';
Form_Qre_in.QR181.Caption := '43';
Form_Qre_in.QR191.Caption := '44';
Form_Qre_in.QR201.Caption := '45';
Form_Qre_in.QR211.Caption := '46';
Form_Qre_in.QR221.Caption := '47';
Form_Qre_in.QR231.Caption := '48';
Form_Qre_in.QR241.Caption := '49';
Form_Qre_in.QR251.Caption := '50';
Form_Qre_in.QR12.Caption := schl_cd + '-16-' + '026';
Form_Qre_in.QR22.Caption := schl_cd + '-16-' + '027';
Form_Qre_in.QR32.Caption := schl_cd + '-16-' + '028';
Form_Qre_in.QR42.Caption := schl_cd + '-16-' + '029';
Form_Qre_in.QR52.Caption := schl_cd + '-16-' + '030';
Form_Qre_in.QR62.Caption := schl_cd + '-16-' + '031';
Form_Qre_in.QR72.Caption := schl_cd + '-16-' + '032';
Form_Qre_in.QR82.Caption := schl_cd + '-16-' + '033';
Form_Qre_in.QR92.Caption := schl_cd + '-16-' + '034';
Form_Qre_in.QR102.Caption := schl_cd + '-16-' + '035';
Form_Qre_in.QR112.Caption := schl_cd + '-16-' + '036';
Form_Qre_in.QR122.Caption := schl_cd + '-16-' + '037';
Form_Qre_in.QR132.Caption := schl_cd + '-16-' + '038';
Form_Qre_in.QR142.Caption := schl_cd + '-16-' + '039';
Form_Qre_in.QR152.Caption := schl_cd + '-16-' + '040';
Form_Qre_in.QR162.Caption := schl_cd + '-16-' + '041';
Form_Qre_in.QR172.Caption := schl_cd + '-16-' + '042';
Form_Qre_in.QR182.Caption := schl_cd + '-16-' + '043';
Form_Qre_in.QR192.Caption := schl_cd + '-16-' + '044';
Form_Qre_in.QR202.Caption := schl_cd + '-16-' + '045';
Form_Qre_in.QR212.Caption := schl_cd + '-16-' + '046';
Form_Qre_in.QR222.Caption := schl_cd + '-16-' + '047';
Form_Qre_in.QR232.Caption := schl_cd + '-16-' + '048';
Form_Qre_in.QR242.Caption := schl_cd + '-16-' + '049';
Form_Qre_in.QR252.Caption := schl_cd + '-16-' + '050';
form_Qre_in.QuickRep1.Preview;
form_Qre_in.Close;
end;
end;
end.
흑흑!!
무지막지하게 무식한 방법으로 퀵리포터로 찍었습니다.
텍스트를 읽어서 위와 같이 배열로 저장한 뒤에..
학원별, 학년별,1번~25번,26번~50번,그리고 뒤에 붙은 학원코드(schl_cd)까정..
다 변환하면서.. 바로 찍으려니 어쩔수가 없었습니다.
위와 같이 하니깐.. 페이지 스킵이 안되는군요..당연하겠지만..ㅠ.ㅠ
혹시 아시는분 계심 페이지 스킵 되게 좀 해주세요.
제발 부탁입니다.
정말 급합니당.
끙~~
Count를 세는방법등을 이용하여 강제 NewPage를 해 주면 다음으로 Skip이 될것 같은데...
초보델 wrote:
> unit didim_main;
>
> interface
>
> uses
> Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
> StdCtrls;
>
> type
> TForm_Main = class(TForm)
> Button1: TButton;
> OpenDialog1: TOpenDialog;
> procedure Button1Click(Sender: TObject);
> private
> { Private declarations }
> public
> { Public declarations }
> end;
>
> var
> Form_Main: TForm_Main;
>
> implementation
> uses Didim_in_list;
> {$R *.DFM}
>
> procedure TForm_Main.Button1Click(Sender: TObject);
> type
> TDb_Rec = record
> slocal_nm:string[31];
> sloc_cd:string[2];
> sschl_nm:string[14];
> sschl_cd1:string[2];
> sschl_cd2:string[2];
> end;
> var
> I,K,Cnt,j,kk : Integer;
> local_nm,loc_cd,school_nm,schl_cd,schl_cd1,schl_cd2 : string;
> //tst_levl, cust_ban, sex, home_phone, addr1, addr2, birth1, birth2, receipt, receipt_day :string;
> Db_Rec : Array[0..248] of TDb_Rec;
> Total: Integer;
> No, Grde, Ban, Sex, Brth, Name : string;
> FP : Textfile;
> Buf : String;
>
> begin
> j := 0;
> Cnt := 0;
> if OpenDialog1.Execute then
> begin
> AssignFile(FP,OpenDialog1.FileName);
> Reset(FP);
>
> While not Eof(FP) do
> Begin
> local_nm :=''; loc_cd :=''; school_nm :=''; schl_cd :=''; schl_cd1 :=''; schl_cd2:='';
> Readln(FP,Buf);
> K:=0;
> for I:=1 to Length(buf) do
> if buf[I] = ',' then
> K := K + 1
> else if K = 4 then
> break
> else if K = 0 then
> local_nm := local_nm + Buf[i]
> else if K = 1 then
> loc_cd := loc_cd + buf[i]
> else if K = 2 then
> school_nm := school_nm + buf[i]
> else if K = 3 then
> schl_cd := schl_cd + buf[i];
>
>
> local_nm := Trim(local_nm);
> loc_cd := Trim(loc_cd);
> school_nm := Trim(school_nm);
> schl_cd1 := copy(Trim(schl_cd),1,2);
> schl_cd2 := copy(Trim(schl_cd),4,2);
>
> Db_Rec[Cnt].slocal_nm := local_nm;
> Db_Rec[Cnt].sloc_cd := loc_cd;
> Db_Rec[Cnt].sschl_nm := school_nm;
> Db_Rec[Cnt].sschl_cd1 := schl_cd1;
> Db_Rec[Cnt].sschl_cd2 := schl_cd2;
> Cnt := Cnt + 1;
> end;
>
> end;
> CloseFile(FP);
> if (form_Qre_in = nil) or (not Form_Qre_in.handleAllocated)then
> form_Qre_in := Tform_Qre_in.create(Application);
> for i:=0 to Cnt do
> begin
> if Db_Rec[i].slocal_nm <> '' then
> local_nm := Db_Rec[i].slocal_nm;
>
> loc_cd := Db_Rec[i].sloc_cd;
> school_nm := Db_Rec[i].sschl_nm;
> schl_cd := Db_Rec[i].sschl_cd1 + Db_Rec[i].sschl_cd2;
>
> Form_Qre_in.QRLabel4.Caption := local_nm;
> Form_Qre_in.QRLabel5.Caption := school_nm;
> Form_Qre_in.QRLabel6.Caption := '(3학년용)';
> Form_Qre_in.QR12.Caption := schl_cd + '-13-' + '001';
> Form_Qre_in.QR22.Caption := schl_cd + '-13-' + '002';
> Form_Qre_in.QR32.Caption := schl_cd + '-13-' + '003';
> Form_Qre_in.QR42.Caption := schl_cd + '-13-' + '004';
> Form_Qre_in.QR52.Caption := schl_cd + '-13-' + '005';
> Form_Qre_in.QR62.Caption := schl_cd + '-13-' + '006';
> Form_Qre_in.QR72.Caption := schl_cd + '-13-' + '007';
> Form_Qre_in.QR82.Caption := schl_cd + '-13-' + '008';
> Form_Qre_in.QR92.Caption := schl_cd + '-13-' + '009';
> Form_Qre_in.QR102.Caption := schl_cd + '-13-' + '010';
> Form_Qre_in.QR112.Caption := schl_cd + '-13-' + '011';
> Form_Qre_in.QR122.Caption := schl_cd + '-13-' + '012';
> Form_Qre_in.QR132.Caption := schl_cd + '-13-' + '013';
> Form_Qre_in.QR142.Caption := schl_cd + '-13-' + '014';
> Form_Qre_in.QR152.Caption := schl_cd + '-13-' + '015';
> Form_Qre_in.QR162.Caption := schl_cd + '-13-' + '016';
> Form_Qre_in.QR172.Caption := schl_cd + '-13-' + '017';
> Form_Qre_in.QR182.Caption := schl_cd + '-13-' + '018';
> Form_Qre_in.QR192.Caption := schl_cd + '-13-' + '019';
> Form_Qre_in.QR202.Caption := schl_cd + '-13-' + '020';
> Form_Qre_in.QR212.Caption := schl_cd + '-13-' + '021';
> Form_Qre_in.QR222.Caption := schl_cd + '-13-' + '022';
> Form_Qre_in.QR232.Caption := schl_cd + '-13-' + '023';
> Form_Qre_in.QR242.Caption := schl_cd + '-13-' + '024';
> Form_Qre_in.QR252.Caption := schl_cd + '-13-' + '025';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QR11.Caption := '26';
> Form_Qre_in.QR21.Caption := '27';
> Form_Qre_in.QR31.Caption := '28';
> Form_Qre_in.QR41.Caption := '29';
> Form_Qre_in.QR51.Caption := '30';
> Form_Qre_in.QR61.Caption := '31';
> Form_Qre_in.QR71.Caption := '32';
> Form_Qre_in.QR81.Caption := '33';
> Form_Qre_in.QR91.Caption := '34';
> Form_Qre_in.QR101.Caption := '35';
> Form_Qre_in.QR111.Caption := '36';
> Form_Qre_in.QR121.Caption := '37';
> Form_Qre_in.QR131.Caption := '38';
> Form_Qre_in.QR141.Caption := '39';
> Form_Qre_in.QR151.Caption := '40';
> Form_Qre_in.QR161.Caption := '41';
> Form_Qre_in.QR171.Caption := '42';
> Form_Qre_in.QR181.Caption := '43';
> Form_Qre_in.QR191.Caption := '44';
> Form_Qre_in.QR201.Caption := '45';
> Form_Qre_in.QR211.Caption := '46';
> Form_Qre_in.QR221.Caption := '47';
> Form_Qre_in.QR231.Caption := '48';
> Form_Qre_in.QR241.Caption := '49';
> Form_Qre_in.QR251.Caption := '50';
>
> Form_Qre_in.QR12.Caption := schl_cd + '-13-' + '026';
> Form_Qre_in.QR22.Caption := schl_cd + '-13-' + '027';
> Form_Qre_in.QR32.Caption := schl_cd + '-13-' + '028';
> Form_Qre_in.QR42.Caption := schl_cd + '-13-' + '029';
> Form_Qre_in.QR52.Caption := schl_cd + '-13-' + '030';
> Form_Qre_in.QR62.Caption := schl_cd + '-13-' + '031';
> Form_Qre_in.QR72.Caption := schl_cd + '-13-' + '032';
> Form_Qre_in.QR82.Caption := schl_cd + '-13-' + '033';
> Form_Qre_in.QR92.Caption := schl_cd + '-13-' + '034';
> Form_Qre_in.QR102.Caption := schl_cd + '-13-' + '035';
> Form_Qre_in.QR112.Caption := schl_cd + '-13-' + '036';
> Form_Qre_in.QR122.Caption := schl_cd + '-13-' + '037';
> Form_Qre_in.QR132.Caption := schl_cd + '-13-' + '038';
> Form_Qre_in.QR142.Caption := schl_cd + '-13-' + '039';
> Form_Qre_in.QR152.Caption := schl_cd + '-13-' + '040';
> Form_Qre_in.QR162.Caption := schl_cd + '-13-' + '041';
> Form_Qre_in.QR172.Caption := schl_cd + '-13-' + '042';
> Form_Qre_in.QR182.Caption := schl_cd + '-13-' + '043';
> Form_Qre_in.QR192.Caption := schl_cd + '-13-' + '044';
> Form_Qre_in.QR202.Caption := schl_cd + '-13-' + '045';
> Form_Qre_in.QR212.Caption := schl_cd + '-13-' + '046';
> Form_Qre_in.QR222.Caption := schl_cd + '-13-' + '047';
> Form_Qre_in.QR232.Caption := schl_cd + '-13-' + '048';
> Form_Qre_in.QR242.Caption := schl_cd + '-13-' + '049';
> Form_Qre_in.QR252.Caption := schl_cd + '-13-' + '050';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QRLabel6.Caption := '(4학년용)';
> Form_Qre_in.QR11.Caption := '1';
> Form_Qre_in.QR21.Caption := '2';
> Form_Qre_in.QR31.Caption := '3';
> Form_Qre_in.QR41.Caption := '4';
> Form_Qre_in.QR51.Caption := '5';
> Form_Qre_in.QR61.Caption := '6';
> Form_Qre_in.QR71.Caption := '7';
> Form_Qre_in.QR81.Caption := '8';
> Form_Qre_in.QR91.Caption := '9';
> Form_Qre_in.QR101.Caption := '10';
> Form_Qre_in.QR111.Caption := '11';
> Form_Qre_in.QR121.Caption := '12';
> Form_Qre_in.QR131.Caption := '13';
> Form_Qre_in.QR141.Caption := '14';
> Form_Qre_in.QR151.Caption := '15';
> Form_Qre_in.QR161.Caption := '16';
> Form_Qre_in.QR171.Caption := '17';
> Form_Qre_in.QR181.Caption := '18';
> Form_Qre_in.QR191.Caption := '19';
> Form_Qre_in.QR201.Caption := '20';
> Form_Qre_in.QR211.Caption := '21';
> Form_Qre_in.QR221.Caption := '22';
> Form_Qre_in.QR231.Caption := '23';
> Form_Qre_in.QR241.Caption := '24';
> Form_Qre_in.QR251.Caption := '25';
> Form_Qre_in.QR12.Caption := schl_cd + '-14-' + '001';
> Form_Qre_in.QR22.Caption := schl_cd + '-14-' + '002';
> Form_Qre_in.QR32.Caption := schl_cd + '-14-' + '003';
> Form_Qre_in.QR42.Caption := schl_cd + '-14-' + '004';
> Form_Qre_in.QR52.Caption := schl_cd + '-14-' + '005';
> Form_Qre_in.QR62.Caption := schl_cd + '-14-' + '006';
> Form_Qre_in.QR72.Caption := schl_cd + '-14-' + '007';
> Form_Qre_in.QR82.Caption := schl_cd + '-14-' + '008';
> Form_Qre_in.QR92.Caption := schl_cd + '-14-' + '009';
> Form_Qre_in.QR102.Caption := schl_cd + '-14-' + '010';
> Form_Qre_in.QR112.Caption := schl_cd + '-14-' + '011';
> Form_Qre_in.QR122.Caption := schl_cd + '-14-' + '012';
> Form_Qre_in.QR132.Caption := schl_cd + '-14-' + '013';
> Form_Qre_in.QR142.Caption := schl_cd + '-14-' + '014';
> Form_Qre_in.QR152.Caption := schl_cd + '-14-' + '015';
> Form_Qre_in.QR162.Caption := schl_cd + '-14-' + '016';
> Form_Qre_in.QR172.Caption := schl_cd + '-14-' + '017';
> Form_Qre_in.QR182.Caption := schl_cd + '-14-' + '018';
> Form_Qre_in.QR192.Caption := schl_cd + '-14-' + '019';
> Form_Qre_in.QR202.Caption := schl_cd + '-14-' + '020';
> Form_Qre_in.QR212.Caption := schl_cd + '-14-' + '021';
> Form_Qre_in.QR222.Caption := schl_cd + '-14-' + '022';
> Form_Qre_in.QR232.Caption := schl_cd + '-14-' + '023';
> Form_Qre_in.QR242.Caption := schl_cd + '-14-' + '024';
> Form_Qre_in.QR252.Caption := schl_cd + '-14-' + '025';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QR11.Caption := '26';
> Form_Qre_in.QR21.Caption := '27';
> Form_Qre_in.QR31.Caption := '28';
> Form_Qre_in.QR41.Caption := '29';
> Form_Qre_in.QR51.Caption := '30';
> Form_Qre_in.QR61.Caption := '31';
> Form_Qre_in.QR71.Caption := '32';
> Form_Qre_in.QR81.Caption := '33';
> Form_Qre_in.QR91.Caption := '34';
> Form_Qre_in.QR101.Caption := '35';
> Form_Qre_in.QR111.Caption := '36';
> Form_Qre_in.QR121.Caption := '37';
> Form_Qre_in.QR131.Caption := '38';
> Form_Qre_in.QR141.Caption := '39';
> Form_Qre_in.QR151.Caption := '40';
> Form_Qre_in.QR161.Caption := '41';
> Form_Qre_in.QR171.Caption := '42';
> Form_Qre_in.QR181.Caption := '43';
> Form_Qre_in.QR191.Caption := '44';
> Form_Qre_in.QR201.Caption := '45';
> Form_Qre_in.QR211.Caption := '46';
> Form_Qre_in.QR221.Caption := '47';
> Form_Qre_in.QR231.Caption := '48';
> Form_Qre_in.QR241.Caption := '49';
> Form_Qre_in.QR251.Caption := '50';
>
> Form_Qre_in.QR12.Caption := schl_cd + '-14-' + '026';
> Form_Qre_in.QR22.Caption := schl_cd + '-14-' + '027';
> Form_Qre_in.QR32.Caption := schl_cd + '-14-' + '028';
> Form_Qre_in.QR42.Caption := schl_cd + '-14-' + '029';
> Form_Qre_in.QR52.Caption := schl_cd + '-14-' + '030';
> Form_Qre_in.QR62.Caption := schl_cd + '-14-' + '031';
> Form_Qre_in.QR72.Caption := schl_cd + '-14-' + '032';
> Form_Qre_in.QR82.Caption := schl_cd + '-14-' + '033';
> Form_Qre_in.QR92.Caption := schl_cd + '-14-' + '034';
> Form_Qre_in.QR102.Caption := schl_cd + '-14-' + '035';
> Form_Qre_in.QR112.Caption := schl_cd + '-14-' + '036';
> Form_Qre_in.QR122.Caption := schl_cd + '-14-' + '037';
> Form_Qre_in.QR132.Caption := schl_cd + '-14-' + '038';
> Form_Qre_in.QR142.Caption := schl_cd + '-14-' + '039';
> Form_Qre_in.QR152.Caption := schl_cd + '-14-' + '040';
> Form_Qre_in.QR162.Caption := schl_cd + '-14-' + '041';
> Form_Qre_in.QR172.Caption := schl_cd + '-14-' + '042';
> Form_Qre_in.QR182.Caption := schl_cd + '-14-' + '043';
> Form_Qre_in.QR192.Caption := schl_cd + '-14-' + '044';
> Form_Qre_in.QR202.Caption := schl_cd + '-14-' + '045';
> Form_Qre_in.QR212.Caption := schl_cd + '-14-' + '046';
> Form_Qre_in.QR222.Caption := schl_cd + '-14-' + '047';
> Form_Qre_in.QR232.Caption := schl_cd + '-14-' + '048';
> Form_Qre_in.QR242.Caption := schl_cd + '-14-' + '049';
> Form_Qre_in.QR252.Caption := schl_cd + '-14-' + '050';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QRLabel6.Caption := '(5학년용)';
> Form_Qre_in.QR11.Caption := '1';
> Form_Qre_in.QR21.Caption := '2';
> Form_Qre_in.QR31.Caption := '3';
> Form_Qre_in.QR41.Caption := '4';
> Form_Qre_in.QR51.Caption := '5';
> Form_Qre_in.QR61.Caption := '6';
> Form_Qre_in.QR71.Caption := '7';
> Form_Qre_in.QR81.Caption := '8';
> Form_Qre_in.QR91.Caption := '9';
> Form_Qre_in.QR101.Caption := '10';
> Form_Qre_in.QR111.Caption := '11';
> Form_Qre_in.QR121.Caption := '12';
> Form_Qre_in.QR131.Caption := '13';
> Form_Qre_in.QR141.Caption := '14';
> Form_Qre_in.QR151.Caption := '15';
> Form_Qre_in.QR161.Caption := '16';
> Form_Qre_in.QR171.Caption := '17';
> Form_Qre_in.QR181.Caption := '18';
> Form_Qre_in.QR191.Caption := '19';
> Form_Qre_in.QR201.Caption := '20';
> Form_Qre_in.QR211.Caption := '21';
> Form_Qre_in.QR221.Caption := '22';
> Form_Qre_in.QR231.Caption := '23';
> Form_Qre_in.QR241.Caption := '24';
> Form_Qre_in.QR251.Caption := '25';
> Form_Qre_in.QR12.Caption := schl_cd + '-15-' + '001';
> Form_Qre_in.QR22.Caption := schl_cd + '-15-' + '002';
> Form_Qre_in.QR32.Caption := schl_cd + '-15-' + '003';
> Form_Qre_in.QR42.Caption := schl_cd + '-15-' + '004';
> Form_Qre_in.QR52.Caption := schl_cd + '-15-' + '005';
> Form_Qre_in.QR62.Caption := schl_cd + '-15-' + '006';
> Form_Qre_in.QR72.Caption := schl_cd + '-15-' + '007';
> Form_Qre_in.QR82.Caption := schl_cd + '-15-' + '008';
> Form_Qre_in.QR92.Caption := schl_cd + '-15-' + '009';
> Form_Qre_in.QR102.Caption := schl_cd + '-15-' + '010';
> Form_Qre_in.QR112.Caption := schl_cd + '-15-' + '011';
> Form_Qre_in.QR122.Caption := schl_cd + '-15-' + '012';
> Form_Qre_in.QR132.Caption := schl_cd + '-15-' + '013';
> Form_Qre_in.QR142.Caption := schl_cd + '-15-' + '014';
> Form_Qre_in.QR152.Caption := schl_cd + '-15-' + '015';
> Form_Qre_in.QR162.Caption := schl_cd + '-15-' + '016';
> Form_Qre_in.QR172.Caption := schl_cd + '-15-' + '017';
> Form_Qre_in.QR182.Caption := schl_cd + '-15-' + '018';
> Form_Qre_in.QR192.Caption := schl_cd + '-15-' + '019';
> Form_Qre_in.QR202.Caption := schl_cd + '-15-' + '020';
> Form_Qre_in.QR212.Caption := schl_cd + '-15-' + '021';
> Form_Qre_in.QR222.Caption := schl_cd + '-15-' + '022';
> Form_Qre_in.QR232.Caption := schl_cd + '-15-' + '023';
> Form_Qre_in.QR242.Caption := schl_cd + '-15-' + '024';
> Form_Qre_in.QR252.Caption := schl_cd + '-15-' + '025';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QR11.Caption := '26';
> Form_Qre_in.QR21.Caption := '27';
> Form_Qre_in.QR31.Caption := '28';
> Form_Qre_in.QR41.Caption := '29';
> Form_Qre_in.QR51.Caption := '30';
> Form_Qre_in.QR61.Caption := '31';
> Form_Qre_in.QR71.Caption := '32';
> Form_Qre_in.QR81.Caption := '33';
> Form_Qre_in.QR91.Caption := '34';
> Form_Qre_in.QR101.Caption := '35';
> Form_Qre_in.QR111.Caption := '36';
> Form_Qre_in.QR121.Caption := '37';
> Form_Qre_in.QR131.Caption := '38';
> Form_Qre_in.QR141.Caption := '39';
> Form_Qre_in.QR151.Caption := '40';
> Form_Qre_in.QR161.Caption := '41';
> Form_Qre_in.QR171.Caption := '42';
> Form_Qre_in.QR181.Caption := '43';
> Form_Qre_in.QR191.Caption := '44';
> Form_Qre_in.QR201.Caption := '45';
> Form_Qre_in.QR211.Caption := '46';
> Form_Qre_in.QR221.Caption := '47';
> Form_Qre_in.QR231.Caption := '48';
> Form_Qre_in.QR241.Caption := '49';
> Form_Qre_in.QR251.Caption := '50';
>
> Form_Qre_in.QR12.Caption := schl_cd + '-15-' + '026';
> Form_Qre_in.QR22.Caption := schl_cd + '-15-' + '027';
> Form_Qre_in.QR32.Caption := schl_cd + '-15-' + '028';
> Form_Qre_in.QR42.Caption := schl_cd + '-15-' + '029';
> Form_Qre_in.QR52.Caption := schl_cd + '-15-' + '030';
> Form_Qre_in.QR62.Caption := schl_cd + '-15-' + '031';
> Form_Qre_in.QR72.Caption := schl_cd + '-15-' + '032';
> Form_Qre_in.QR82.Caption := schl_cd + '-15-' + '033';
> Form_Qre_in.QR92.Caption := schl_cd + '-15-' + '034';
> Form_Qre_in.QR102.Caption := schl_cd + '-15-' + '035';
> Form_Qre_in.QR112.Caption := schl_cd + '-15-' + '036';
> Form_Qre_in.QR122.Caption := schl_cd + '-15-' + '037';
> Form_Qre_in.QR132.Caption := schl_cd + '-15-' + '038';
> Form_Qre_in.QR142.Caption := schl_cd + '-15-' + '039';
> Form_Qre_in.QR152.Caption := schl_cd + '-15-' + '040';
> Form_Qre_in.QR162.Caption := schl_cd + '-15-' + '041';
> Form_Qre_in.QR172.Caption := schl_cd + '-15-' + '042';
> Form_Qre_in.QR182.Caption := schl_cd + '-15-' + '043';
> Form_Qre_in.QR192.Caption := schl_cd + '-15-' + '044';
> Form_Qre_in.QR202.Caption := schl_cd + '-15-' + '045';
> Form_Qre_in.QR212.Caption := schl_cd + '-15-' + '046';
> Form_Qre_in.QR222.Caption := schl_cd + '-15-' + '047';
> Form_Qre_in.QR232.Caption := schl_cd + '-15-' + '048';
> Form_Qre_in.QR242.Caption := schl_cd + '-15-' + '049';
> Form_Qre_in.QR252.Caption := schl_cd + '-15-' + '050';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QRLabel6.Caption := '(6학년용)';
> Form_Qre_in.QR11.Caption := '1';
> Form_Qre_in.QR21.Caption := '2';
> Form_Qre_in.QR31.Caption := '3';
> Form_Qre_in.QR41.Caption := '4';
> Form_Qre_in.QR51.Caption := '5';
> Form_Qre_in.QR61.Caption := '6';
> Form_Qre_in.QR71.Caption := '7';
> Form_Qre_in.QR81.Caption := '8';
> Form_Qre_in.QR91.Caption := '9';
> Form_Qre_in.QR101.Caption := '10';
> Form_Qre_in.QR111.Caption := '11';
> Form_Qre_in.QR121.Caption := '12';
> Form_Qre_in.QR131.Caption := '13';
> Form_Qre_in.QR141.Caption := '14';
> Form_Qre_in.QR151.Caption := '15';
> Form_Qre_in.QR161.Caption := '16';
> Form_Qre_in.QR171.Caption := '17';
> Form_Qre_in.QR181.Caption := '18';
> Form_Qre_in.QR191.Caption := '19';
> Form_Qre_in.QR201.Caption := '20';
> Form_Qre_in.QR211.Caption := '21';
> Form_Qre_in.QR221.Caption := '22';
> Form_Qre_in.QR231.Caption := '23';
> Form_Qre_in.QR241.Caption := '24';
> Form_Qre_in.QR251.Caption := '25';
> Form_Qre_in.QR12.Caption := schl_cd + '-16-' + '001';
> Form_Qre_in.QR22.Caption := schl_cd + '-16-' + '002';
> Form_Qre_in.QR32.Caption := schl_cd + '-16-' + '003';
> Form_Qre_in.QR42.Caption := schl_cd + '-16-' + '004';
> Form_Qre_in.QR52.Caption := schl_cd + '-16-' + '005';
> Form_Qre_in.QR62.Caption := schl_cd + '-16-' + '006';
> Form_Qre_in.QR72.Caption := schl_cd + '-16-' + '007';
> Form_Qre_in.QR82.Caption := schl_cd + '-16-' + '008';
> Form_Qre_in.QR92.Caption := schl_cd + '-16-' + '009';
> Form_Qre_in.QR102.Caption := schl_cd + '-16-' + '010';
> Form_Qre_in.QR112.Caption := schl_cd + '-16-' + '011';
> Form_Qre_in.QR122.Caption := schl_cd + '-16-' + '012';
> Form_Qre_in.QR132.Caption := schl_cd + '-16-' + '013';
> Form_Qre_in.QR142.Caption := schl_cd + '-16-' + '014';
> Form_Qre_in.QR152.Caption := schl_cd + '-16-' + '015';
> Form_Qre_in.QR162.Caption := schl_cd + '-16-' + '016';
> Form_Qre_in.QR172.Caption := schl_cd + '-16-' + '017';
> Form_Qre_in.QR182.Caption := schl_cd + '-16-' + '018';
> Form_Qre_in.QR192.Caption := schl_cd + '-16-' + '019';
> Form_Qre_in.QR202.Caption := schl_cd + '-16-' + '020';
> Form_Qre_in.QR212.Caption := schl_cd + '-16-' + '021';
> Form_Qre_in.QR222.Caption := schl_cd + '-16-' + '022';
> Form_Qre_in.QR232.Caption := schl_cd + '-16-' + '023';
> Form_Qre_in.QR242.Caption := schl_cd + '-16-' + '024';
> Form_Qre_in.QR252.Caption := schl_cd + '-16-' + '025';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
> Form_Qre_in.QR11.Caption := '26';
> Form_Qre_in.QR21.Caption := '27';
> Form_Qre_in.QR31.Caption := '28';
> Form_Qre_in.QR41.Caption := '29';
> Form_Qre_in.QR51.Caption := '30';
> Form_Qre_in.QR61.Caption := '31';
> Form_Qre_in.QR71.Caption := '32';
> Form_Qre_in.QR81.Caption := '33';
> Form_Qre_in.QR91.Caption := '34';
> Form_Qre_in.QR101.Caption := '35';
> Form_Qre_in.QR111.Caption := '36';
> Form_Qre_in.QR121.Caption := '37';
> Form_Qre_in.QR131.Caption := '38';
> Form_Qre_in.QR141.Caption := '39';
> Form_Qre_in.QR151.Caption := '40';
> Form_Qre_in.QR161.Caption := '41';
> Form_Qre_in.QR171.Caption := '42';
> Form_Qre_in.QR181.Caption := '43';
> Form_Qre_in.QR191.Caption := '44';
> Form_Qre_in.QR201.Caption := '45';
> Form_Qre_in.QR211.Caption := '46';
> Form_Qre_in.QR221.Caption := '47';
> Form_Qre_in.QR231.Caption := '48';
> Form_Qre_in.QR241.Caption := '49';
> Form_Qre_in.QR251.Caption := '50';
>
> Form_Qre_in.QR12.Caption := schl_cd + '-16-' + '026';
> Form_Qre_in.QR22.Caption := schl_cd + '-16-' + '027';
> Form_Qre_in.QR32.Caption := schl_cd + '-16-' + '028';
> Form_Qre_in.QR42.Caption := schl_cd + '-16-' + '029';
> Form_Qre_in.QR52.Caption := schl_cd + '-16-' + '030';
> Form_Qre_in.QR62.Caption := schl_cd + '-16-' + '031';
> Form_Qre_in.QR72.Caption := schl_cd + '-16-' + '032';
> Form_Qre_in.QR82.Caption := schl_cd + '-16-' + '033';
> Form_Qre_in.QR92.Caption := schl_cd + '-16-' + '034';
> Form_Qre_in.QR102.Caption := schl_cd + '-16-' + '035';
> Form_Qre_in.QR112.Caption := schl_cd + '-16-' + '036';
> Form_Qre_in.QR122.Caption := schl_cd + '-16-' + '037';
> Form_Qre_in.QR132.Caption := schl_cd + '-16-' + '038';
> Form_Qre_in.QR142.Caption := schl_cd + '-16-' + '039';
> Form_Qre_in.QR152.Caption := schl_cd + '-16-' + '040';
> Form_Qre_in.QR162.Caption := schl_cd + '-16-' + '041';
> Form_Qre_in.QR172.Caption := schl_cd + '-16-' + '042';
> Form_Qre_in.QR182.Caption := schl_cd + '-16-' + '043';
> Form_Qre_in.QR192.Caption := schl_cd + '-16-' + '044';
> Form_Qre_in.QR202.Caption := schl_cd + '-16-' + '045';
> Form_Qre_in.QR212.Caption := schl_cd + '-16-' + '046';
> Form_Qre_in.QR222.Caption := schl_cd + '-16-' + '047';
> Form_Qre_in.QR232.Caption := schl_cd + '-16-' + '048';
> Form_Qre_in.QR242.Caption := schl_cd + '-16-' + '049';
> Form_Qre_in.QR252.Caption := schl_cd + '-16-' + '050';
> form_Qre_in.QuickRep1.Preview;
> form_Qre_in.Close;
>
> end;
> end;
> end.
>
>
> 흑흑!!
> 무지막지하게 무식한 방법으로 퀵리포터로 찍었습니다.
> 텍스트를 읽어서 위와 같이 배열로 저장한 뒤에..
> 학원별, 학년별,1번~25번,26번~50번,그리고 뒤에 붙은 학원코드(schl_cd)까정..
> 다 변환하면서.. 바로 찍으려니 어쩔수가 없었습니다.
> 위와 같이 하니깐.. 페이지 스킵이 안되는군요..당연하겠지만..ㅠ.ㅠ
>
> 혹시 아시는분 계심 페이지 스킵 되게 좀 해주세요.
> 제발 부탁입니다.
> 정말 급합니당.
> 끙~~