English:
--------
- New: 'Filled' clause for PRINT RECTANGLE command. Contributed
by Rathinagiri.
- New: 'DATA' section for reports. It allows to define 'iterator' and
'Stopper' conditions.
BEGIN DATA
ITERATOR <xExpression>
STOPPER <xExpression>
END DATA
This new feature is useful for use (ie) arrays instead tables for reports.
Sample:
Public i := 1
Public aRows [ 20 ] [ 3 ]
...
DEFINE REPORT TEMPLATE
BEGIN DATA
ITERATOR i++
STOPPER i == 20
END DATA
...
BEGIN DETAIL
BANDHEIGHT 6
BEGIN TEXT
EXPRESSION aRows [i] [1]
...
END DETAIL
...
END REPORT
The section is optional. If omited, 'Iterator' will be set as 'dbskip()'
and 'Stopper' as 'Eof()'
Full Sample: \hmg\samples\report.advanced\demo8.prg
Español:
--------
- Nuevo: Cláusula 'Filled' para el comando PRINT RECTANGLE. Contribución
de Rathinagiri.
- Nuevo: Sección 'DATA' para el generador de reportes. Por medio de esta
sección puede definirse un 'Iterador'y un 'Stopper'.
BEGIN DATA
ITERATOR <xExpression>
STOPPER <xExpression>
END DATA
Esta nueva característica es útil, por ejemplo, para usar arrays en lugar
de tablas para los reportes.
Ejemplo:
Public i := 1
Public aRows [ 20 ] [ 3 ]
...
DEFINE REPORT TEMPLATE
BEGIN DATA
ITERATOR i++
STOPPER i == 20
END DATA
...
BEGIN DETAIL
BANDHEIGHT 6
BEGIN TEXT
EXPRESSION aRows [i] [1]
...
END DETAIL
...
END REPORT
La sección es opcional. Si se omite, 'Iterator' es establecido como 'dbskip()'
y 'Stopper()' como 'Eof()'.
Ejemplo Completo: \hmg\samples\report.advanced\demo8.prg
Yes, Marek is correct.
I also downloaded 2.9.4 !!!
(I understand it's only a careless mistake! So, don't worry Roberto. Just correct the link )
With best regards.
Sudip
Last edited by sudip on Fri Oct 09, 2009 5:27 am, edited 1 time in total.
sudip wrote:Yes, Marek is correct.
I also downloaded 2.9.4 !!!
(I understand it's only a careless mistake! So, don't worry Roberto. Just correct the link )
With best regards.
Sudip
Thanks a lot Marek and Master Roberto.
I downloaded it (2.9.5) And it works fine
Latest array handling facility in report generator is really a great news to me
Regards.
Sudip
sudip wrote:Yes, Marek is correct.
I also downloaded 2.9.4 !!!
(I understand it's only a careless mistake! So, don't worry Roberto. Just correct the link )
With best regards.
Sudip