Search
|
Structure of an Ebus program
Every Ebus-J program consists of masks, reports
(see Programs) and Macros
and can access Index
Files and SQL databases (over JDBC).
The masks contain fields (controls), by which data
are displayed and recorded.
The reports contain fields that specify which
data are to be printed.
Individual program parts (macros) can be
created with the programming language of the Ebus-J.
Individual program parts (macros) can be
started at the following places in the Ebus program:
|
Macro |
Execution of macro
|
Compare |
|
Macro before index-open |
At the start of the program before the index
files are opened |
|
|
Macro after index-open |
At the start of the program after the index
files are opened |
|
|
Macro before mask output |
At the start of a mask before the mask is
displayed |
|
|
Macro after mask output |
At the start of a mask after the mask is
displayed on screen and before the field processing starts. |
|
|
Macro for mask processing |
After the start of an empty mask |
|
|
Macro before |
With the call of a mask field or before a
report field is printed |
|
|
Macro after |
After field input on the mask |
|
|
ON <Key> MACRO |
If a function key (Esc, F1, F2, ...) has been
pressed or the respective icon has been clicked |
|
|
ON <Event> MACRO |
If a certain event has taken place |
|
|
MACRO <Macroname> |
Calling a submacro in the programming
language by the instruction MACRO |
|
Index Files can be accessed by commands of the
programming language. Fields of masks and reports can be linked to Index File
fields.