It is made up of:
From the development's perspective, a grid is a set of variables with occurrences; a variable (called 'grid variable') is used to know the number of valid lines in the grid. Its name corresponds to the name of the current field when the whilst the cursor is in the grid -but during the entry of a field.
It is possible to set the cursor in a grid through different means:
In any case, the interface switches to entry mode on the first cell that can be entered (note: this is not necessarily the first cell nor the cell on which the user has clicked).
The use and function of the keys can vary if the user has taken the 'focus' on one line or if the interface is in entry mode for one of the grid cells.
For a grid in focus mode, these following keys can used to:
It is important to note that the insertion or the delete of a line can be forbidden on a grid, depending on functional criteria (in that case, the keys will not work)
For a grid in entry mode, these following keys can used to:
The Adonix technology software load in memory all the grid lines. Should heavy documents be loaded, the user should set the size of the memory dedicated to a work station accordingly.
Nevertheless, for optimization purposes, it is possible to limit the loading of grid to a limited number of lines as long as the user is not in inquiry mode via the ADXLIG user parameter. This way, it is possible to visualize rapidly a range of records that contain heavy grids and the system does not slow down.
When the grid is not totally filled, the icon in client server mode or the icon in web mode is displayed in the first cell at the upper left corner of the grid. The complete loading of the grid can be obtained by using a simple right click on this icon, by switching to the entry mode or by moving the vertical scrollbar.
The grid lines can be sorted by simply right clicking in the column's header (descending order / ascending order if the user clicks again). A pictogram is then applied on the column which lines have been sorted. This is this pictogram when the lines are sorted in descending order. It is reversed when the sort is done in ascending order
When the grid is sorted:
This mode can be accessed when the user uses the focus on a grid lien via the right click and only in client server mode. It can be used to visualize and enter each line as a record as the following:
The two first icons located at the top of the screen can be used to insert a line or delete the current line; the radio buttons can be used to change line. The fields are entered in record mode just as they were entered in the grid.
It should be noted that it is possible to open the record mode by default when entering the grid.
In a grid, it is possible to represent the value of a given column in a graphic, provided at least this one column is numeric.
This presentation is used a lot is the inquiry screens.
The display of the presentation can be settled or not; it can be display along with the grid (on the right, on the left, above, under), or alternately in the same place as the grid.
When the grid and the graph are displayed alternately, it is necessary to click on the following icon to switch from one mode to the other: in client server mode, or in web mode. It is located on the upper left corner of the grid.
For more information on the use of graphic dynamics, please refer to: Graphic representation.
This function can be accessed via right click on the column or via the following keys combined .
It is used to open window in order to enter the text to search for and there is the possibility to specify the search direction (up or down) and indicate if it is a entire word and if the search should be case sensitive.
The search is carried out in all the columns, starting from the current cell, from left to right then up > down and down > up according to the direction indicated.
The focus is placed on the first column that contains the text that has been searched for. It is then possible to look for the next occurrence via the and for the previous occurrence via the .
This function can be accessed by right click on the column.
It is used to open an entry window which suggests to enter a title, a tab name and is used to launch via a button.
If it is done, an Excel file is generated with the following default characteristics:
It is also possible to change the characteristics of the Excel file, via the following key: . A window with four tabs is then displayed. It can be used to modify the default characteristics of the Excel file. The button is used to save corresponding setups by giving a name to the memo and the button is used to call back a memo by indication its name. The memo called STD, if it exists, is loaded by default when the Excel export function is launched.
The information entered is as follows :
Fields
The following fields are included in this window :
Block number 1
|   |
|   |
|   |
|   |
|   |
Block number 2
|   |
|   |
Block number 3
|   |
Close
This tab is used to define global options of the created grid (totals, filters, colors) and to specify if the grid will be a simple or pivot table. In that case, the user can chose predefined styles by entering a local menu. The preview of the style is displayed next to it.
Fields
The following fields are included in this window :
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
Close
In that tab, there are styles used to display various data which appear in the Excel file created by the export.
These styles are used to descript the font and size of characters, as well as their color and the background color for cells.
Fields
The following fields are included in this window :
Grid Fields
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
Close
In that tab, there is the list of grid fields. The display and the type of display of these fields can be specified via a range of attributes.
Fields
The following fields are included in this window :
Grid Comments
|   |
|   |
|   |
|   |
Close
This tab is used to define "introduction" fields that will be exported before the grid and that are used to recall a context in the Excel tab. These fields come from the header screen (if there are any), list sections of the same tab as the one where the grid is exported. No field is selected by default.
During the Excel export; the process opens the masks called AEXP1, AEXP2, AEXP4, and AEXP5 with the following abbreviations AEY1, AEY2, AEY4 and AEY5. Then, it initializes values in masks by considering by default:
Three entry points are defined in order to chose, by programmation, option more suited for particular grid data or to control the export execution. These entry points are called successively in the standard program of the current function in the vertical program (if it exist) and in the specific program (if it exists). The three entry points defined correspond to the following values of ACTION variable:
It is possible to overload these values in the entry point, knowing that if the export program does not confirm that the NBASPAG field belongs to a grid, it will not be performed.
According to the context, the Excel export characteristics can thus be filled dynamically. The user can also use, of course, the reload of a memo on these setups, in a more static way. As usage will have it, the STD memo is automatically loaded if it exists.