Gran Total en Ultima Pagina

Consultas, trucos, consejos. Todo sobre Clarion en todas sus versiones
Responder
PolarBear
Ayudante de Santa
Mensajes: 81
Registrado: Lun Feb 17, 2014 6:42 pm
Contactar:

Gran Total en Ultima Pagina

Mensaje por PolarBear » Jue Feb 04, 2016 10:41 pm

Saludos Clarioneros

Busque ya en el foro, pero no encontre nada de este tema, que a lo mejor ya fue contestado. En un reporte de muchas (muchas!) paginas necesito imprimir los totales de las columnas. La cosa es que si los pongo en el PageFooter, los totales me van apareciendo (llevando la cuenta) en TODAS y cada una de las (muchas!) paginas del reporte

Hay alguna manera de que este pagefooter o alguna banda de totales me sea impreso SOLO AL FINAL del Reporte??

Gracias de antemano por sus comentarios y ayuda!


fvalencia
Novato
Mensajes: 36
Registrado: Lun Mar 07, 2011 1:26 am
Ubicación: México
Contactar:

Re: Gran Total en Ultima Pagina

Mensaje por fvalencia » Vie Feb 05, 2016 3:11 pm

Una manera, tomado del help de clarión, es
To print Grand Totals on a report:
1. Add a new Detail band outside of any BREAK structures you have in the report, then follow the steps in How to suppress printing a Detail Band until explicitly called to print to always suppress printing it.
2. Place your grand total fields on the new Detail band. Be sure to set Reset property to <None> and specify the detail or break structures on which to tally the total in the Tally property.
3. If you are using the Clarion template family, explicitly print your grand total detail band in the Start of Before End Report embed point. If using the ABC template family, use the ThisReport.AskPreview before parent call embed to print grand totals. Make sure the filter for the Grand Total Detail is set to FALSE to prevent the print engine from printing it on its own:
PRINT(RPT:MyGrandTotalDetailBand)

Otra forma es
1.- Crea una variable "tonta" tipo byte
2.- Crea una estructura BREAK alrededor de la banda Detail y que referencié a esa variable "tonta".
3.- En el footer del break coloca los campos totales de las columnas.

Saludos

PolarBear
Ayudante de Santa
Mensajes: 81
Registrado: Lun Feb 17, 2014 6:42 pm
Contactar:

Re: Gran Total en Ultima Pagina

Mensaje por PolarBear » Sab Feb 06, 2016 12:15 am

Muchas Gracias fvalencia !

Me funcionó de maravilla. Saludos


Responder

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 26 invitados