como EXPORTO a Excel usando PRINTER.PRG?
Posted: Thu Dec 08, 2022 6:02 pm
Buenas tardes señores, como EXPORTO a Excel usando PRINTER.PRG? Usando REPORT, funciona bien, pero con PRINTER.PRG incluso si apago WHEN() del Botón Exportar de la clase RPREVIEW.PRG, no funciona.
Imagen:
https://imgur.com/5ioRsJc
Regards, saludos.
- Code: Select all Expand view
DEFINE TBBUTTON OF oBar ;
ACTION ::ExportToMSExcel() ;
TOOLTIP FWString( "Export to Excel" ) ;
MESSAGE FWString( "Export to Excel" ) /* ;
WHEN ::CanExportToExcel */
DEFINE BUTTON oBtn OF oBar ;
MESSAGE FWString( "Export to Excel" ) ;
ACTION ::ExportToMSExcel() ;
TOOLTIP FWString( "Export to Excel" ) /* ;
WHEN ::CanExportToExcel */
Imagen:
https://imgur.com/5ioRsJc
Regards, saludos.