RE: [gx-l] Reports a excel

Victor,

No se si toma en cuenta el &Output el reporte está seteado como Only To File.

Probá, si no funciona lo peor que puede pasar es que tengas que hacer un Save As del reporte y utilizar uno para imprimir en pantalla e impresora y el otro para exportar a Excel.

 


De: Victor Rueda [mailto:Victor.Rueda@amcor.com]
Enviado el: martes, 06 de abril de 2010 11:14
Para: gx-l@gxtech.com.uy
Asunto: RE: [gx-l] Reports a excel

 

Gracias por la respuesta Federico
Pero y ¿que le paso en el output ?
Ejemplo

call(RListado,&CLiCodd,&CliCodH,&Output, &XLs)

En output paso hasta ahora PRN o SCR y en Xls paso S o N dependiendo si el listado se va a hacer en excel o no
Cuando voy a hacer hoja excel si le paso output = 'PRN' me saca la cabecera del listado por la impresora y  la hoja excel completa
Si le pongo output ='SCR' entonces me saca la cabecera por pantalla  y la hoja excel completa

Gracias

Un Saludo, Víctor

Please note my new email address is victor.rueda@amcor.com

 

P Antes de imprimir, piensa en el MEDIO AMBIENTE P




From:

Federico Marín <Federico.Marin@uy.sonda.com>

To:

"gx-l@gxtech.com.uy" <gx-l@gxtech.com.uy>

Date:

06/04/2010 14:27

Subject:

RE: [gx-l] Reports a excel

 





Si le ponés la propiedad del reporte como Only To File no te sirve?
 

 

Federico Marín
Analista GeneXus
SONDA Uruguay
+598 2 9089750
federico.marin@uy.sonda.com
www.sonda.com


 
 
 
 
 
 
 

 



De: Victor Rueda [mailto:Victor.Rueda@amcor.com]
Enviado el:
martes, 06 de abril de 2010 8:47
Para:
csharp-l@gxtech.com.uy; gx-l@gxtech.com.uy
Asunto:
[gx-l] Reports a excel

 
Hola,
       Gx 9.0  en .net en win

Tengo un report que lo utilizo para sacar el listado a pantalla, impresora o excel
Para el tema de pantalla o impresora le paso por parametro el output y para el tema del excel paso una variable que me dice si voy a generar a excel o no
En el caso de que vaya a generar a excel utilizando esa variable hago que no salte ningun print.

En un modelo en vb funciona correctamente mientras que en el modelo de .net cuando pido sacar a excel me saca correctamente la hoja excel pero después me saca la cabecera del listado ( y solo la cabecera ) por pantalla o por impresora según lo puesto en el output
¿cómo solucionarlo sin tener que crear dos reports ?

Gracias
       


Un Saludo, Víctor


______________________________________________________

Amcor - Creating a new world of packaging
______________________________________________________

CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Amcor immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Amcor .[attachment "image001.jpg" deleted by Victor Rueda/Logrono/AFE]


______________________________________________________

Amcor - Creating a new world of packaging
______________________________________________________

CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Amcor immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Amcor .

0 Response to "RE: [gx-l] Reports a excel"

Publicar un comentario