You can create -CE lines and give characteristics on the elements
called in the Report, from the -CE Lines tab of the
Report editor. It consists in listing the Structures and the Data Elements
called on the Report and identifying their edition mode (position on the layout
line, the source of the data, and conditions under which the source should
be transferred to the target Data Element).
In the left area of the -CE tab,
you have a-CE Lines definition section in which you find
the -CE lines of the Report presented in a tree-structure list. If there is
no call lines yet in the list, you must call a Structure first, then you will
be able to call Data Elements and specify their source then.
- To insert a Structure in the CE lines list, proceed as follows:
- If there are no call lines (the list is empty), you click directly
on the Add Structure... button.
- To create a new Structure in after an existing call line, set
your cursor on a the line first to indicate the position of the future Structure,
then click the Add Structure... button. A
new Structure call line is created, it is identified by:
- In a structure, you call Data Elements. To create Data Elements
call:
- Set your cursor on a Structure, click on the Add
Data Element... button.
- In the dialog box that opens up, you find the list of Data Elements
imported in your workspace. Select one of them and press OK.
Or, if you need to call an instance which does not exist yet in your project,
just click on the New Data Element button. In the creation
wizard which opens up, enter the name and label and click OK.
The new Data Element is then displayed in the selection list. If you select
it and click OK, it will be called in the -CE Lines,
under the selected structure it belongs to.
The Data Element is identified in the -CE lines by an icon
, followed in
the same line by its name, its output format and the column number on the
layout. Double-clicking on the Data Element call line switches to its editor
where you can read or modify the Data Element characteristics such as its
format. You define or modify the column number in the Data Element
call section that opens in the right area of the window when the
Data Element call is created.
- You can also create call lines for new Data Elements which are
not declared in the Dictionary:
- Set your cursor on a Structure and click on the Add
undefined Data.... A new call line is created
under the selected structure,
identified by a
default zero value as column number.
- Enter the Data Element properties that identify the Data Element
in the Undefined Data Element Definition section, in
the right area of the window. The section opens when the Data Element call
is inserted in the -CE lines.
- Other possible actions on the -CE lines:
- You can delete instance calls, you just need to select one of
them and click the Remove button. When you
delete a Data Element, its dependent source is deleted too. A structure cannot
be deleted globally. It must be done Data Element by Data Element.
- You can copy one or more call lines and paste them anywhere
in the list. These choices are available via the contextual menu (right-click
the selection). Only Elements with the same level of indentation can be copied
and pasted.
- You can change the sequence order of Data Elements within a
Structure or the order of Structures in the -CE lines via the Up and Down buttons.
A Structure is moved with all the Data Elements it contains, same thing for
a Data Element, it is moved with its source.