Specifications
Adding controls to a report
236 InfoMaker
❖ To add a column from the data source to a report:
1 Select Insert>Control>Column from the menu bar.
2 Click where you want to place the column.
The Select Column dialog box displays, listing all columns included in the
data source of the report.
3 Select the column and click OK.
Insert columns instead
of copying them
If you want to add a column from the DataWindow definition to a
DataWindow, always use Insert>Control>Column. You might see unexpected
results if you copy a column from one report to another if they both reference
the same column but the column order is different. This is because copying a
column copies a reference to the column’s id in the DataWindow definition.
Suppose
d_first and d_second both have first_name and last_name columns, but
first_name is column 1 in d_first and column 2 in d_second. If you delete the
first_name column in d_second and paste column 1 from d_first in its place,
both columns in
d_second display the last_name column in the Preview view,
because both columns now have a column id of 1.
Adding text to a report
When InfoMaker generates a basic report from a presentation style and data
source, it places columns and their headings in the Report painter. You can add
text anywhere you want to make the report easier to understand.
❖ To add text to a report:
1 Select Insert>Control>Text from the menu bar.
2 Click where you want the text.
InfoMaker places the text control in the Design view and displays the word
text.
3 Type the text you want.
4 (Optional) Change the font, size, style, and alignment for the text using the
StyleBar.