Faceți căutări pe acest blog

luni, 23 februarie 2015

Use the report to output only text or memory variables

Report can be used only to output the data from tables / cursors.
If the main table has no records, the report only flashes.
To output some text or the values from some memory variables, not related to any tables :
1 Create a new report
2 View-> Data Environment (or Right click and choose Data Environment)
3 In the Init event of Data Environment type
CREATE CURSOR (SYS(2015)) (ii I)
APPEND BLANK
Now the report has a cursor.
To output only some text, add a label control to this report and type the desired text.


The result



The values of private or public memory variables can also be displayed.

 The result



Niciun comentariu:

Trimiteți un comentariu