Visual LANSA Report Painter cannot display a full report layout

Date: 20 March 2012
Product/Release: Visual LANSA V12 SP1
Abstract: Multiple Def_line statements in a report function may not be shown completely in the Report Painter.
Submitted By: LANSA Technical Support


The Visual LANSA Report Painter enables developers to paint reports interactively:

Visual LANSA Report Painter Design tab

In V12 SP1, there is a problem if the function contains many def_line statements (for example: 30 def_line statements) defined in the report function.

The problem is the Report Painter will not scroll down in the painter to show a full report layout.
Example of Report Painter not scrolling down to show a full report layout

The workaround is to change the length of the report from FORMSIZE(*default 198) to a specific size.

For example:

Def_Report Formsize(255 198) Last_Line(40) Overflow(65) Other_Ovr('SPLFNAME(PSPLF101)')

sets the form length to the maximum of 255.


This problem will be corrected in future versions of Visual LANSA.