Академический Документы
Профессиональный Документы
Культура Документы
File
2. File
This chapter describes functions included in File Menu. File menu provides various functions
for report form file and project file such as Edit, Open and Save etc, as it provides various
functions for a general file such as Setup and Print etc.
2.1. New
In order to create a new report, select File > New or click New(
or click shortcut Alt+N.
For creating a report, file definition is necessary. There are two methods for file definition,
User Defined and Wizard, which show the sequence of definition for Report Property and
Database Setup etc.. But, whichever you select, the created report is the same.
81
General Form
As for General Form Document, every page is printed repeatedly in the same format as
one edited in body page.
One record is applied to all pages reporting in General Form Document. For example, if two
pages for one report are drawn and the numbers of result records from edited query
statements are 10, a total of twenty pages for a report will be prepared because one report
with two pages has ten result records.
General Form Document is useful in case you print several pages with the same format as
body page after setting a specific field of database to a certain location.
Table Form
Table Form Document is the report type, which the repetition section of table increases
automatically and the number of pages increase.
In Table Form Document, whenever you draw a table with two or more rows, Header and
Repetition Section are defined automatically. When you assign a specific field of database
into Repetition Section, the repetition section for a print increases according to the number of
the result records of query statements edited by a user. But the repetition section is repeated
until it meets another object and gets out of a page.
So it is useful in case you draw a report in which a table is increased according to the
number of the result records of query statements edited by a user. In addition, the table of
Report Designer is more convenient than any other product for reporting because of
existing not the combination of lines but the object.
Label Form
82
2. File
Label Form Document is used for creating a report as a label type. Contrary to General
Form Document, an created object can be printed repetitiously in a page. The object is
printed repetitiously according to the number of result records of query statements edited.
Accordingly, it is useful for printing types of labels and creating a business card.
Fixed Form
In Fixed Form Document, you can display various data freely for satisfying end users fully.
It is very useful to create a delicate and various informal Korean style reports
Fixed Form Document supports to create the report type of General Form Document and
Table Form Document. However, General Form or Table Form Document creates pages
from applying records import by query statements to field on location printed within created
document form.
While executing a script, it is possible to bring the data for other query statements. It is useful
in case it is difficult to bring data from database by using a query or it is necessary to
operate/transform the data because it is easier to transform data in Fixed Form Document.
A script is written according to its grammar and is similar to SQL Programming in use of C.
Cross Tab
This option is available just for Table Form Document. You can select it when you create
Cross Table Document repeating rows and columns.
Database > Define Data Division for Sub Pages, Properties > Sub Page Display
Conditions and Properties > Set Sub Report Pages are available just in case you select
Use Sub Page for Table Form Document.
Use Script
This option is available in case DB connection type is not File Connection and you can use
the scripts provided in Report Designer additionally. After checking Use Script, you can
create the script using Database > Edit Script.
83
ends, if a page has enough space, it makes the last page be printed to the body with enough
space between body and the last page. The interval can be set in Properties > Page Chain
Option.
DB Connection
Select a type of database for the data to be used in a report.
84
2. File
2.2. Open/Close/Save
2.2.1. Open
To open the existing report file, select File > Open or click Open(
toolbar or use shortcut Alt+O.
) on the Standard
If Open dialog box appears, select a desired file and then click Open.
85
After a file is opened, a selected file name or document title will appear in title bar and the
contents of a file will appear on Document Window.
86
2. File
Report Designer 5.0u for Unicode cannot open the report form file that is created on
non-Unicode version.
To open a report form file created with old version in Report Designer 5.0u for Unicode, you
need to use RD-UniCon, which is unicode conversion tool included in installation module. It
converts old report form files to unicode report form files.
See Appendix V. RD-UniCon which provided separate material for the detailed usage
of RD-UniCon program.
2.2.2. Close
In order to close the current file, select File > Close or use shortcut Alt+C. Of course, the
current file is closed and Report Designer is not closed.
If you close an empty file or a file without modified items, it will close without asking whether
save or not.
However, if there are modified contents, which did not save, a dialog box will ask you
whether save or not before you close the file.
If you click Yes, a file with the given name will be saved and closed. For a newly created file
without a name, Save As dialog box will appear to enter the file name.
If you click No, the file will be closed without saving. Since nothing is saved and edited
contents not restored, you should select No with caution.
If you click Cancel, the screen returns to the edit mode without closing the file.
2.2.3. Save/Save As
In order to save the current file, select File > Save or click Save(
or use shortcut Alt+S.
87
If a file you want to save is a already saved file, the dialog box will not appear. In this case,
the modified file will be saved as the same name like the existing files name and the existing
file will be saved as a backup file with the extension name bak.
In order to save the current file as a new name, select File > Save As. In this case, Save as
dialog box appears and you can save a file as a new file with a new name. In addition, you
can assign a file type such as ASCII file (*.txt). ASCII file means a text file just having
contents of Text Frame or tables in document.
In case of saving a file through the Save As dialog box, if the file to have the same name
exists in the same directory, the following dialog will appear.
If you want to delete the existing file and to save the current file, click Yes. If you do not want
to delete it, click No.
If you click Yes, the existing file is deleted and will be saved newly, so you should select with
attention. If user delete the necessary existing file by mistake, you can restore by copying or
renaming the backup file(*.bak) of existing file.
If you click No, return to Save As dialog box. And then enter a new file name and click OK.
What is a backup file? In preparation for emergency cases, a backup file with its
extension bak will be systematically created by saving the original file when you overwrite or
delete a file by mistake, you can utilize the backup file by renaming it as you wish and
changing its extension as, mrd since it contains the content of the original file.
88
2. File
89
FTP Address
You can enter the FTP Server Address. No use ftp:// in front of the address.
Anonymous
If you check Anonymous, you can connect to FTP server as anonymous.
Save Password
If you check Save Password, you can save your password into your computer. It is possible
to connect with FTP server with the saved password. In PC for only one user, it is useful.
However, the PC is for multi-user, it is not safe to save your password into the computer.
Initial Directory
Enter Initial Directory Path based on Home Directory at logging in FTP server. For example,
when the home directory for login you want to use is /home/user, if you want to set Initial
Directory as /home/user/data, then you may enter only /data.
Port
90
2. File
Enter the port number to connect to FTP server. The default value is 21.
Passive Mode
You can set whether Passive Mode is used or not. Passive Mode is a connection method
that data port links as client connects to FTP server through port FTP gave at FTP
Connection. Passive mode is used when client is within Firewall and FTP server is out of
Firewall.
91
If you select File > Save FTP, you can save the operating file into FTP server.
How to use: It is similar to Open FTP.
In case the file opening from a FTP server, If you select File > Save or click Save( ) on the
Standard toolbar, the file of the FTP server is updated. If you did not check Save Password
on FTP Account, a dialog box for entering password will appear when you save a file.
92
2. File
Project file also has functions Open/ Save/ Close as report files. See Chapter 2.2
Open/ Save/ Close for the details of Open/Save/Close project.
93
shown below.
Open FTP Project is similar to Open FTP. See Chapter 2.3.2 Open FTP for the
details of open FTP Project.
94
2. File
RDAgent Path
Enter RDAgent path of Document Repository Server.
User ID / Password
Enter User ID and Password registered in Document Repository Server. Usually enter the
same User ID and Password you enter to connect RDAgent.
Working Directory
In order to edit a document after connecting to Document Repository Server, set an
operating directory where report form files are downloaded. Clicking
button opens
Select Directory dialog box.
After entering all items, click Connect. If it is successful in connection, the file system
structure of Document Repository Server, which can be accessed by a login user, will
appear as a tree type in Document Repository Server Tab of Project Window.
95
Be careful when you change the type of a report because the properties of previously edited
objects may make some problems. For example, when you change General Form Document
what you are editing into Table Form Document, the Table object what you made in General
Form Document maybe makes a problem as it changes in Table Form Document because
Table Properties of General Form Document is different from Table Form Document. So it is
not recommended to change Report Type during editing a report.
When you want to use Use Sub Page during editing a report, it is necessary to check
Object Properties you edited previously as well. For reference, in case of Use Sub Page,
the Sub Page Object Properties as well as the Standard Object Properties is added.
See Chapter 2.1.1 User Defined Tab for the details of Report type and other options.
96
2. File
97
Do not use is the option not to use Auto adjust magnification ratio but to follow Defined
Magnification Ratio. It is the same as Auto Adjust property is set as 0.
Fit to page is the option to automatically adjust the ratio as to show entire page of report. It
is the same as Auto Adjust property is set as 1. However even if you do not set Fit page,
Fit to page is executed because the default value of Auto Adjust property is 1.
Fit horizontal is to adjust magnification ratio to fit into the width of report. It is the same as
Auto Adjust property is set as 2.
See o 4.2.1 Auto Adjust of Appendix IV RD OCX Methods, Properties, Events for
the details of Auto Adjust property.
See Appendix III. Report Designer Parameters - 3.1.51 /ronepgrpt for the details of
parameters.
98
2. File
This function is to set to make the created report in Report Designer Viewer updated
automatically at specific interval. It is useful when you need to review continuously real-time
data.
99
Orientation
Page orientation is the direction in which a page is shown on your monitor.
100
2. File
If there was an orientation difference between page setup and printer setup, Page
Setup has the priority. Therefore, in case printer setup is different during edition, Print Out is
different from the page on your monitor.
101
102
2. File
103
104
2. File
When all pages have the same header or tail, a separate report can be made with the
header or the tail. The separate report can be included in other report as Included File. In
addition, using this function, you can manage the layout of several documents in one
document. Therefore, if you need to modify of layout, modifying the Included File and then all
documents are applied.
Title page of Included File is applied to Title page of original document, so are Body Page
and Tail Page. If Included File had two or more Body Page, Body Pages are applied to an
original document in circular order.
105
Parameters entered in the dialog box are saved in report file and they are used at executing
the report. If there are runtime parameters, the parameter value saved in a report file, they
are ignored at running the report.
106
2. File
See Appendix III. Report Designer Parameters for the details of parameters.
107
Use catalog
Report Designer Catalog redefines Table Name or Field Name of database, which makes it
easy to use them. Therefore, the catalog is just Database in users point of view.
In case that a catalog document is used as database, check Use Catalog and enter the
catalog document path.
You can create catalog files by Catalog Manager.
108
2. File
With Security Level tab, Maximum of security level and String to be shown with
security level applied can be set. However to define them is applied not to the current
report but to a report to be created after changing Environment Setup. For reference, File >
Document Properties > Security Level tab allows attributes regarding Security Level for
the current report.
109
Report Type
In File > New > User Defined tab, you can set report type using as default. Default type of
report is General Form at first. However if Table Form is used frequently, the default report
type can be changed into Table Form by selecting Table Form of Report Type. It is not
necessary to change Report Type and you are free from the trouble. The changed Report
Type is applied to a new report change is applied as default Report Type after this setup is
applied.
Default Font
Drawing the Text Frame or Table object newly, you can set default font type/size is applied to
objects. At first executing, default font type/size is Tahoma/ 10pt. However, you can set font
type that you use frequently as default font by this function. The default font information is
applied to the current report as well as Text Frame and Table object to be drawn.
Alignment
Drawing the Text Frame or Table object newly, you can set default alignment is applied to
objects. At first execution, default alignment is Left/Top. However, you can set alignment that
you use frequently as default alignment by this function. The default alignment information is
applied to the current report as well as Text Frame and Table object to be drawn.
Auto Save
Set whether Auto Save function is used and set Saving Interval when Auto Save is used.
For example, if you check Auto Save and set saving interval to 30 min., and then even if
Save button is not clicked separately, a report is saved every 30 min.
110
2. File
See Chapter. 8.18 Edit Inquiry Toolbar for the details of Inquiry Toolbar and See also
Chapter 8.5 Hyperlink Properties for the details of Hyperlink.
See Chapter 5.2 Define Query for the details of Define Query.
111
2.9.4.1. CODEBASE
In Web Preview, you have to create HTML template files including object tag of Report
Designer OCX Viewer to execute report file on the web. At this time, you can assign
installation method for Report Designer OCX Viewer and the content inputting in codebase
of object tag.
RD CAB
It need to be checked when you want to install Report Designer OCX Viewer by using Cab
file.
Input the codebase information of Report Designer OCX Viewer into RD OBJECT input
box. If necessary input codebase information such as TEECHART, PDF, and BARCODE.
SmartUpdate CAB
SmartUpdate is a separate distribution module for installing Report Designer OCX Viewer.
If you use SmartUpdate, it is possible to install TEECHART, PDF, and BARCODE as well as
Report Designer OCX Viewer. You can check installation process on a separate dialog box.
In case of using SmartUpdate, Report Designer OCX Viewer is installed through
SmartUpdate. However, it is necessary to input codebase information of SmartUpdate
module because SmartUpdate module itself has to be installed through Cab file. It takes
less time to install Cab file because the size of Cab file of SmartUpdate Module is just
50Kbyte.
112
2. File
Define HTML template file using in executing Preview on web browser(Select File >
Preview on Web Browser).
In Enter Properties & Methods, JavaScript Grammar is used. Entered contents are
executed before FileOpen() Method is called. Therefore methods which are used after
FileOpne() such as SaveAsFile() are meaningless.
In addition, the values entered in Enter Properties & Methods are saved not in a report file
but in Environment File of Report Designer Editor.
See Appendix IV. RD OCX Methods, Properties, and Events List for the details of
Properties, Methods, and Event.
113
At this time, the executing HTML template file is generated from the value that is set at File >
Environment Setup > Web Preview tab and File > Environment Setup for Web Preview as a
basis.
114
2. File
If you do not save a report after editing it, the following message box appears. Because an
executable file is made from a report file saved into your system already.
2.14. Print
This is different from Print of Report Designer Viewer. Print of Report Designer Editor
prints not the completed report but the object information regarding report edition.
It allows you to print Dataset Connection Information applied in Text Frame or Table and to
print Placed Objects themselves.
115
Printer
After selecting a printer, if you click Properties, you can set the printers options.
Page Range
You can select one from All Pages, Current Page, and Pages. If you select Pages, you can
set print range for printing.
Copies
Set Number of Copies. When you want to print pages several times, you may select
Collate.
Print Option
This allows you to print table, frame like as objects or to print information applied to them.
Include Variables option allows you to print variables name applied to dataset mapping
information.
Only Objects allows you to print Object itself except dataset connection information, texts,
etc. applied to them.
Print Method
If you set Black & White, a report is printed in Grayscale regardless color applied to the
report. If you set Align on Paper Center, the contents of your screen is printed on the center
of a paper.
116
2. File
You can select the size of paper. If you check Fit to Paper, you can print a page to fit the
selected paper size.
If not, regardless of the paper type selected, you can print a report at defined ratio. For
example, if you set 50%, 1/4 size report is printed.
117