Report page headers and footers
alameen ERP 10 prints six areas that you can design: four on each page, the Report Header once at the start and the Report Footer once at the end. The areas are Top Margin, Bottom Margin, Page Header, Page Footer, Report Header and Report Footer. This page describes the window that manages them, its designer and the two windows tied to them. For the steps to design a full header, see Design a report page header and footer.
Opening the window
The management window opens in one of two ways:
- On the Print page click Manage Headers/Footers in the preview toolbar, or the arrow next to it and then Manage Headers/Footers.
- In Page Setup click Manage on the Header & Footer page.
There is no separate permission for headers and footers: whoever has the Print reports permission can open the window (see File tab). Headers and footers are stored in the company file and every user of the file sees them. Any of those users can edit or delete them.
Manage Headers/Footers
The window title is Manage Headers/Footers.

The tree shows six kinds in this order: Top Margin, Bottom Margin, Page Header, Page Footer, Report Header and Report Footer. Under each kind are the items you designed, and two ready items: Print Date under Top Margin and Page Number under Bottom Margin. A Preview area below shows the selected item.
| Button | What it does |
|---|---|
| New (arrow) | Shows six commands named after the kinds. One opens the designer on an empty item of that kind. Then the command Duplicate Current Item. |
| Duplicate Current Item | Copies the selected item into a new item of the same kind, with a name whose number goes up (Header 1, then Header 2), and opens the designer to save it. It works with the ready items too. |
| Edit | Opens the designer on a copy of the selected item. Disabled for the two ready items and for the kinds. |
| Rename | Changes the name of the selected item. The Rename window shows "Enter a new name:". A name that already exists in the same kind is refused with "Name is already used. Please enter another one." The program saves the new name at once. Disabled for the two ready items and for the kinds. |
| Delete | After the question "Are you sure you want to delete the selected item?" (Yes or No), deletes the item from the database at once. Disabled for the two ready items and for the kinds. |
| Expand All and Collapse All icons | Open or fold the kinds of the tree. |
| Close | Closes the window. There is no Ok button, because each operation is saved when you run it. |
After Close from the preview toolbar, if you changed anything (added, edited, renamed or deleted), the program rebuilds the print preview. After Close from Page Setup, only the header and footer lists in that window are refreshed.
If you delete an item that a saved setting uses, that setting shows (None) in that position when you open it.
Designer
It opens in its own window with a ribbon. The title is the name of the item, then -, then the name of the designer for the kind: Page Top Margin Designer, Page Bottom Margin Designer, Page Header Designer, Page Footer Designer, Report Header Designer or Report Footer Designer. A * after the name means unsaved changes. If you have not named a new item yet, the name shows as Header1 or Footer1.

In the middle is a white sheet as wide as the paper selected in the preview, with a hatched area on each side that stands for the page margins. You add items to it from the Insert tab.
- Click an item to select it. A frame surrounds it.
- Double-click a text box to edit its text in place, and press
Enterto finish. Double-clicking a picture opens a file picker. The text of a ready item such as Report Title cannot be edited this way. - Each item has one of nine positions: top, middle or bottom, with left, center or right. Text boxes, the report title and the name items start at the start of the line, and the date and the page number start at the center, and pictures at the opposite side. In the English window the start is the left edge, so text starts at the left and pictures at the right. In the Arabic window the sheet is mirrored: text starts at the right edge and pictures at the left edge. Items in the same position are stacked. Change the position from the Alignment group.
- If you leave a text box empty, the phrase Insert text here comes back.
Close closes the designer. If there are unsaved changes, it asks "Want to save your changes?" (Yes, No and Cancel). Yes saves and closes. No closes without saving. Cancel keeps you in the designer.
When you save a new item that has no name, the Save As window opens with "Choose Name". The suggested name is Header1 or Footer1. The program refuses a name that already exists in the same kind.
Home tab
| Group | Button | What it does |
|---|---|---|
| File | Save (Ctrl+S) | Saves the item in the company file. Disabled until you change something. For a new or duplicated item it works at once, and the * shows in the title from the start. |
| Edit | Edit (F2) | On a text box it starts editing the text. On a picture it opens a file picker for a new picture. It works for these two kinds only. |
| Edit | Delete (Del) | Removes the selected item from the header. |
| Font | Font list, size list, increase and decrease font size, bold (Ctrl+B), italic (Ctrl+I), underline (Ctrl+U), font color | Formats the selected text. The group is disabled for a picture. |
| Alignment | Three vertical buttons (top, middle, bottom) and three horizontal ones (left, center, right) | Move the item to one of the nine positions. |
| Format | Date & Time | A list of date and time formats, each shown with today's date, such as yyyy-MM-dd or HH:mm:ss. It works for the Print Date & Time item. |
| Format | Page Numbers | A list of page number formats (1, - 1 -, [1], 1 / 2, Page 1, Page 1 of 2 and others), and below it Number Format: 1, 2, 3, ..., i, ii, iii, ... or I, II, III, .... It works for the Page Number item. |
| Format | Text Pattern | Opens the Text Pattern window. It works for the File Name, User Name, Database Name and Server Name items. |
| Arrange | Align | Aligns the item within the items stacked in its position: Auto, Left, Center or Right. It works when the position of the selected item holds at least one other item. |
| Arrange | Move Up and Move Down | Move the item earlier or later among the items of its position. |
| Spacing | Top, Bottom, Left, Right | The space around the selected item, in inches. |
| Close | Close | As described above. |
Insert tab
| Button | The item it adds |
|---|---|
| Picture | A picture from a file (jpg, png, bmp, gif or tif). A file picker titled Insert Picture opens. If you cancel it, nothing is added. |
| Text Box | Free text. Editing starts as soon as it is added, and its first text is Insert text here. |
| Page Number | The current page number, as 1. |
| Print Date & Time | Today's date, as M/d/yyyy. |
| Report Title | The title of the report shown in the preview. |
| File Name | The name of the open company file. |
| User Name | The signed-in user. |
| Database Name | The name of the company database. |
| Server Name | The name of the database server. |
When printing, Report Title takes the title of the open report. File Name, User Name, Database Name and Server Name are read from the current connection when the item is loaded, so they show the user who prints and that user's file. The formats chosen in Page Setup > Format (page numbers, numbers kind and date) replace the formats of the items when they are not Auto.
Layout tab
| Group | Button | What it does |
|---|---|---|
| Page Setup | Margins, Orientation and Size | Change the sample sheet in the designer only, so you can see the design on another paper. They are not saved with the item and do not change the print settings. |
| Position | Top Margin and Bottom Margin | The space between the edges of the header area and its content, in inches. |
| Position | Height | The height of the header area in inches. It works for Page Header, Page Footer, Report Header and Report Footer. The height of the top and bottom margin items comes from the page margins. |
Picture Tools

The Picture Tools > Format tab appears when a picture is selected.
| Group | Button | What it does |
|---|---|---|
| Adjust | Fit | How the picture fills its frame: None, Fill or Uniform. |
| Adjust | Reset Picture | Returns the picture to its original size. |
| Adjust | Size to Content | Makes the picture as wide as the page between the margins. For a top or bottom margin item it also makes it as high as that margin. |
| Size | Height and Width | The picture size in inches. |
The bar at the bottom of the window holds the zoom: a list from 25% to 500%, a slider from 10% to 500% and a button that returns to 100%.
Text Pattern

It adds a word before or after the value of an item such as the user name. The window title is Text Pattern.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Prefix | Text before the value. | No | For example User:. The program trims the spaces at both ends. |
| Suffix | Text after the value. | No | |
| Preview | The resulting text. | No | Read-only. The program separates prefix, value and suffix with one space. |
Ok adopts the pattern in the item, and Cancel leaves it as it was.
Edit Report Header
It sets the report information (period and conditions) that appears in the report header and in the page header. It opens from the Edit Report Header button in the preview toolbar. The window title is Edit Report Header.

| Column | What it shows | Rules |
|---|---|---|
| Name | The title of the item, such as "Period". | Required. The error "'Name' is required field." appears if you leave it empty. It cannot be edited on the ready lines. |
| Text | The value of the item. | It cannot be edited on the ready lines. |
| New Line | A check box. | The item starts on a new line of the header. |
| Button | What it does |
|---|---|
| Delete | Deletes the selected line. It works for lines you added only. |
| Move Up and Move Down | Change the order of the selected line. |
| The empty last row | Type a name and a text in it to add a line of your own. |
| Ok | Adopts the lines. Disabled while a row in the table has an error. The program places the lines that do not start a new line before the lines that do. |
The changes apply to the four report header styles in the print preview, and then the preview is rebuilt. They are not stored with the predefined settings, and they do not apply to Export and Share. They are lost when you Refresh the report.
Messages
| Message | When it appears | What to do |
|---|---|---|
| Are you sure you want to delete the selected item? | You clicked Delete in the management window. | Yes to delete or No. |
| Want to save your changes? | You closed the designer with unsaved changes. | Yes, No or Cancel. |
| Name is already used. Please enter another one. | You chose a name that exists in the same kind, when saving or renaming. | Type a different name. |
| 'Name' is required field. | You left Name empty on a line of the report header. | Type a name or delete the line. |
| An error occurred while saving data. / An error occurred while reading data. / An error occurred while deleting data. | Saving, reading or deleting in the database failed. The error text comes with it. | Try again. If it repeats, contact your administrator. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.