Fields of the report generator

Top  Previous  Next

In the draught of a report results of Moskito's functions become with the help of the fields $$ Field (Moskito'S FUNCTION) and $$ Table (Moskito'S FUNCTION) inserted.

 

$$ Field (Moskito'S FUNCTION)

The functional results can automatically have been generated by Moskito as for example the street of a house or also by the user in the form mask have been given as for example the name of the customer. This both information is inserted with in the text with $$ Field(Value (information. Variables. Street)) or. $$ Field(Value (information. Variables. Representative)).

 

$$ Table (Moskito'S FUNCTION)

A table whose size of the number of results depends which produces the given function is generated with the help of the field $$ table (). Thus any result of a Moskito's function which contains a word wrap can be given in principle. The results of data bank queries are put down with it, for example, automatically on such a table as for example the situation of pipelines with certain cross section.

 

As in the picture is shown to the construction of a table first in the text editor a zweizeilige table invested and any headings in the first line given (it can also be two or more lines). In the left upper cell of that table part which should be automatically filled by Moskito becomes the order $$ Table () registered. In the clip the desired Moskito's function is written in addition, e.g., a data bank query with SelectDB(.).

 

Text

Heading 1

Heading 2

....

Heading n

 

$$ Table(Moskito'S FUNCTION)

$$ Cell

$$ Cell

$$ Cell

 

$$ Zeile2

$$ Cell

$$ Cell

$$ End

Those columns which should contain the result columns of the query become with the key word $$ Cell provide. If a column does not contain this key word, it is jumped over, and the result entry becomes in the next column, in $$ Cell stands, continuous.

 

In the first column of the second line becomes the key word $$ Zeile2 registered which marks the beginning of a new record and provides thus for the arrangement of the suitable number of lines for the result issue.

 

Also in the second table line becomes $$ Cell registered in those columns which should contain results. However, as opposed to the first line becomes here the end of the columns with the entry $$ End marked.

 

If the table contains only one result column, become the key words $$ Cell and $$ End does not need; then the column automatically becomes by $$ Zeile2 concluded.

 

$$ Page (Moskito'S FUNCTION)

$$ Page forms a loop enables to produce side manner issues.

$$ Exec

Explains successively the performed orders.