Hello,
printing each record of a dbf with 3 lines I want to prevent from breaking
the page between this 3 lines by using the OnChanged-event of TReport. I
need now the pagelength in pixels to compare the oReport:nRow with.
Is there a property of TReport holding the pagelength in pixels for using
the OnChanged-event like that:
oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
Thanks in advance
Ingo
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TReport
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TReport
Ingo,
Use the method LinesLeft() wichh returns the number of lines left on the
page. The documentation of TReport is already done in Spanish and right now
is being translated into English. I hope it will be ready really soon.
Regards,
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:4449e6aa$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Hello,
>
> printing each record of a dbf with 3 lines I want to prevent from breaking
> the page between this 3 lines by using the OnChanged-event of TReport. I
> need now the pagelength in pixels to compare the oReport:nRow with.
>
> Is there a property of TReport holding the pagelength in pixels for using
> the OnChanged-event like that:
>
> oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
>
> Thanks in advance
>
> Ingo
>
>
Use the method LinesLeft() wichh returns the number of lines left on the
page. The documentation of TReport is already done in Spanish and right now
is being translated into English. I hope it will be ready really soon.
Regards,
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:4449e6aa$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Hello,
>
> printing each record of a dbf with 3 lines I want to prevent from breaking
> the page between this 3 lines by using the OnChanged-event of TReport. I
> need now the pagelength in pixels to compare the oReport:nRow with.
>
> Is there a property of TReport holding the pagelength in pixels for using
> the OnChanged-event like that:
>
> oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
>
> Thanks in advance
>
> Ingo
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TReport
Ingo,
Use the method LinesLeft() wichh returns the number of lines left on the
page. The documentation of TReport is already done in Spanish and right now
is being translated into English. I hope it will be ready really soon.
Regards,
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:4449e6aa$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Hello,
>
> printing each record of a dbf with 3 lines I want to prevent from breaking
> the page between this 3 lines by using the OnChanged-event of TReport. I
> need now the pagelength in pixels to compare the oReport:nRow with.
>
> Is there a property of TReport holding the pagelength in pixels for using
> the OnChanged-event like that:
>
> oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
>
> Thanks in advance
>
> Ingo
>
>
Use the method LinesLeft() wichh returns the number of lines left on the
page. The documentation of TReport is already done in Spanish and right now
is being translated into English. I hope it will be ready really soon.
Regards,
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:4449e6aa$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Hello,
>
> printing each record of a dbf with 3 lines I want to prevent from breaking
> the page between this 3 lines by using the OnChanged-event of TReport. I
> need now the pagelength in pixels to compare the oReport:nRow with.
>
> Is there a property of TReport holding the pagelength in pixels for using
> the OnChanged-event like that:
>
> oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
>
> Thanks in advance
>
> Ingo
>
>