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.

Xailer 2 RC 1 bug in TReport

Xailer professional forum in English
Responder
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Hi,
TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
e.g. in line 949 (nDob := :oPen:nWidth * 2)
or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
Regards
Ingo
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Xailer 2 RC 1 bug in TReport

Mensaje por ignacio »

Ingo,
You can not call any Report method from ToExcel() events.You can only change
oReport::cXlsData. If that is not the case, please tell us how to reproduce
the bug with any Xailer sample report. TIA.
BTW, we have modified the report engine so any call to those methods from
ToExcel() will just do nothing so you can have the same code for normal
report and Excel export.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo" <support@mandantwin.com> escribió en el mensaje
news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
> Hi,
> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
> e.g. in line 949 (nDob := :oPen:nWidth * 2)
> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>
> Regards
> Ingo
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Xailer 2 RC 1 bug in TReport

Mensaje por ignacio »

Ingo,
You can not call any Report method from ToExcel() events.You can only change
oReport::cXlsData. If that is not the case, please tell us how to reproduce
the bug with any Xailer sample report. TIA.
BTW, we have modified the report engine so any call to those methods from
ToExcel() will just do nothing so you can have the same code for normal
report and Excel export.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo" <support@mandantwin.com> escribió en el mensaje
news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
> Hi,
> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
> e.g. in line 949 (nDob := :oPen:nWidth * 2)
> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>
> Regards
> Ingo
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Ignacio,
> BTW, we have modified the report engine so any call to those methods from
> ToExcel() will just do nothing so you can have the same code for normal
> report and Excel export.
This declaration helps. I found out that the reason is the codeblock in my
code:
oReport:OnStartGroup := {|o|oReport:nGridStyle := rgHORIZONTAL,;
IIF(oReport:LinesLeft()<3,oReport:NewPage(),)}
This codeblock will be evaluated from ToExcel() too and calls LinesLeft() or
NewPage() outside the ToExcel-method.
Ok, I can make my own workaround.
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
> Ingo,
>
> You can not call any Report method from ToExcel() events.You can only
> change oReport::cXlsData. If that is not the case, please tell us how to
> reproduce the bug with any Xailer sample report. TIA.
>
> BTW, we have modified the report engine so any call to those methods from
> ToExcel() will just do nothing so you can have the same code for normal
> report and Excel export.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Ingo" <support@mandantwin.com> escribió en el mensaje
> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>> Hi,
>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>
>> Regards
>> Ingo
>>
>
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Ignacio,
> BTW, we have modified the report engine so any call to those methods from
> ToExcel() will just do nothing so you can have the same code for normal
> report and Excel export.
This declaration helps. I found out that the reason is the codeblock in my
code:
oReport:OnStartGroup := {|o|oReport:nGridStyle := rgHORIZONTAL,;
IIF(oReport:LinesLeft()<3,oReport:NewPage(),)}
This codeblock will be evaluated from ToExcel() too and calls LinesLeft() or
NewPage() outside the ToExcel-method.
Ok, I can make my own workaround.
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
> Ingo,
>
> You can not call any Report method from ToExcel() events.You can only
> change oReport::cXlsData. If that is not the case, please tell us how to
> reproduce the bug with any Xailer sample report. TIA.
>
> BTW, we have modified the report engine so any call to those methods from
> ToExcel() will just do nothing so you can have the same code for normal
> report and Excel export.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Ingo" <support@mandantwin.com> escribió en el mensaje
> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>> Hi,
>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>
>> Regards
>> Ingo
>>
>
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Ignacio,
oReport:cGrandTotal:="Endsaldo:" causes an error too in TREPORT:TOEXCEL
(1278):
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
> Ingo,
>
> You can not call any Report method from ToExcel() events.You can only
> change oReport::cXlsData. If that is not the case, please tell us how to
> reproduce the bug with any Xailer sample report. TIA.
>
> BTW, we have modified the report engine so any call to those methods from
> ToExcel() will just do nothing so you can have the same code for normal
> report and Excel export.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Ingo" <support@mandantwin.com> escribió en el mensaje
> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>> Hi,
>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>
>> Regards
>> Ingo
>>
>
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Ignacio,
oReport:cGrandTotal:="Endsaldo:" causes an error too in TREPORT:TOEXCEL
(1278):
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
> Ingo,
>
> You can not call any Report method from ToExcel() events.You can only
> change oReport::cXlsData. If that is not the case, please tell us how to
> reproduce the bug with any Xailer sample report. TIA.
>
> BTW, we have modified the report engine so any call to those methods from
> ToExcel() will just do nothing so you can have the same code for normal
> report and Excel export.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Ingo" <support@mandantwin.com> escribió en el mensaje
> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>> Hi,
>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>
>> Regards
>> Ingo
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Xailer 2 RC 1 bug in TReport

Mensaje por ignacio »

Ingo,
Fixed. Is just a typo on line1303. Change "::cXldData" with "::cXlsData".
Thanks for the info.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo" <support@mandantwin.com> escribió en el mensaje
news:4aefe195$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Ignacio,
>
> oReport:cGrandTotal:="Endsaldo:" causes an error too in TREPORT:TOEXCEL
> (1278):
>
> Regards
>
> Ingo
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
> Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
>> Ingo,
>>
>> You can not call any Report method from ToExcel() events.You can only
>> change oReport::cXlsData. If that is not the case, please tell us how to
>> reproduce the bug with any Xailer sample report. TIA.
>>
>> BTW, we have modified the report engine so any call to those methods from
>> ToExcel() will just do nothing so you can have the same code for normal
>> report and Excel export.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>>> Hi,
>>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>>
>>> Regards
>>> Ingo
>>>
>>
>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Xailer 2 RC 1 bug in TReport

Mensaje por ignacio »

Ingo,
Fixed. Is just a typo on line1303. Change "::cXldData" with "::cXlsData".
Thanks for the info.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo" <support@mandantwin.com> escribió en el mensaje
news:4aefe195$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Ignacio,
>
> oReport:cGrandTotal:="Endsaldo:" causes an error too in TREPORT:TOEXCEL
> (1278):
>
> Regards
>
> Ingo
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
> Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
>> Ingo,
>>
>> You can not call any Report method from ToExcel() events.You can only
>> change oReport::cXlsData. If that is not the case, please tell us how to
>> reproduce the bug with any Xailer sample report. TIA.
>>
>> BTW, we have modified the report engine so any call to those methods from
>> ToExcel() will just do nothing so you can have the same code for normal
>> report and Excel export.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>>> Hi,
>>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>>
>>> Regards
>>> Ingo
>>>
>>
>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Ignacio,
in the published report.prg it is line 1278
IF !Empty( ::cGrandTotal )
::cXlsData += ::cGrandTotal //+ CRLF <---- delete it
ENDIF
Please delete "+ CRLF"
When will you publish the fixed version?
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:4aefefd7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Ingo,
>
> Fixed. Is just a typo on line1303. Change "::cXldData" with "::cXlsData".
> Thanks for the info.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Ingo" <support@mandantwin.com> escribió en el mensaje
> news:4aefe195$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Ignacio,
>>
>> oReport:cGrandTotal:="Endsaldo:" causes an error too in TREPORT:TOEXCEL
>> (1278):
>>
>> Regards
>>
>> Ingo
>> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
>> Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
>>> Ingo,
>>>
>>> You can not call any Report method from ToExcel() events.You can only
>>> change oReport::cXlsData. If that is not the case, please tell us how to
>>> reproduce the bug with any Xailer sample report. TIA.
>>>
>>> BTW, we have modified the report engine so any call to those methods
>>> from ToExcel() will just do nothing so you can have the same code for
>>> normal report and Excel export.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> Xailer support / Soporte de Xailer
>>> http://www.xailer.com
>>> http://www.xailer.info
>>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>>> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>>>> Hi,
>>>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>>>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>>>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>>>
>>>> Regards
>>>> Ingo
>>>>
>>>
>>>
>>
>
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Xailer 2 RC 1 bug in TReport

Mensaje por Ingo JH »

Ignacio,
in the published report.prg it is line 1278
IF !Empty( ::cGrandTotal )
::cXlsData += ::cGrandTotal //+ CRLF <---- delete it
ENDIF
Please delete "+ CRLF"
When will you publish the fixed version?
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:4aefefd7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Ingo,
>
> Fixed. Is just a typo on line1303. Change "::cXldData" with "::cXlsData".
> Thanks for the info.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Ingo" <support@mandantwin.com> escribió en el mensaje
> news:4aefe195$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Ignacio,
>>
>> oReport:cGrandTotal:="Endsaldo:" causes an error too in TREPORT:TOEXCEL
>> (1278):
>>
>> Regards
>>
>> Ingo
>> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
>> Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
>>> Ingo,
>>>
>>> You can not call any Report method from ToExcel() events.You can only
>>> change oReport::cXlsData. If that is not the case, please tell us how to
>>> reproduce the bug with any Xailer sample report. TIA.
>>>
>>> BTW, we have modified the report engine so any call to those methods
>>> from ToExcel() will just do nothing so you can have the same code for
>>> normal report and Excel export.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> Xailer support / Soporte de Xailer
>>> http://www.xailer.com
>>> http://www.xailer.info
>>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>>> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>>>> Hi,
>>>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is NIL:
>>>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>>>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>>>
>>>> Regards
>>>> Ingo
>>>>
>>>
>>>
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Xailer 2 RC 1 bug in TReport

Mensaje por ignacio »

Ingo,
You are righ, my line is different due some changes on the file. I hope we
will publish RC2 this week.
Regards,
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo" <support@mandantwin.com> escribió en el mensaje
news:[email=4af002fc@svctag-j7w3v3j....]4af002fc@svctag-j7w3v3j....[/email]
> Ignacio,
>
> in the published report.prg it is line 1278
>
> IF !Empty( ::cGrandTotal )
> ::cXlsData += ::cGrandTotal //+ CRLF <---- delete it
> ENDIF
> Please delete "+ CRLF"
> When will you publish the fixed version?
>
> Regards
> Ingo
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
> Newsbeitrag news:4aefefd7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Ingo,
>>
>> Fixed. Is just a typo on line1303. Change "::cXldData" with "::cXlsData".
>> Thanks for the info.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>> news:4aefe195$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Ignacio,
>>>
>>> oReport:cGrandTotal:="Endsaldo:" causes an error too in
>>> TREPORT:TOEXCEL (1278):
>>>
>>> Regards
>>>
>>> Ingo
>>> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
>>> Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
>>>> Ingo,
>>>>
>>>> You can not call any Report method from ToExcel() events.You can only
>>>> change oReport::cXlsData. If that is not the case, please tell us how
>>>> to reproduce the bug with any Xailer sample report. TIA.
>>>>
>>>> BTW, we have modified the report engine so any call to those methods
>>>> from ToExcel() will just do nothing so you can have the same code for
>>>> normal report and Excel export.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> Xailer support / Soporte de Xailer
>>>> http://www.xailer.com
>>>> http://www.xailer.info
>>>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>>>> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>>>>> Hi,
>>>>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is
>>>>> NIL:
>>>>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>>>>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>>>>
>>>>> Regards
>>>>> Ingo
>>>>>
>>>>
>>>>
>>>
>>
>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Xailer 2 RC 1 bug in TReport

Mensaje por ignacio »

Ingo,
You are righ, my line is different due some changes on the file. I hope we
will publish RC2 this week.
Regards,
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo" <support@mandantwin.com> escribió en el mensaje
news:[email=4af002fc@svctag-j7w3v3j....]4af002fc@svctag-j7w3v3j....[/email]
> Ignacio,
>
> in the published report.prg it is line 1278
>
> IF !Empty( ::cGrandTotal )
> ::cXlsData += ::cGrandTotal //+ CRLF <---- delete it
> ENDIF
> Please delete "+ CRLF"
> When will you publish the fixed version?
>
> Regards
> Ingo
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
> Newsbeitrag news:4aefefd7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Ingo,
>>
>> Fixed. Is just a typo on line1303. Change "::cXldData" with "::cXlsData".
>> Thanks for the info.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>> news:4aefe195$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Ignacio,
>>>
>>> oReport:cGrandTotal:="Endsaldo:" causes an error too in
>>> TREPORT:TOEXCEL (1278):
>>>
>>> Regards
>>>
>>> Ingo
>>> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
>>> Newsbeitrag news:[email=4aef2b37@svctag-j7w3v3j....]4aef2b37@svctag-j7w3v3j....[/email]
>>>> Ingo,
>>>>
>>>> You can not call any Report method from ToExcel() events.You can only
>>>> change oReport::cXlsData. If that is not the case, please tell us how
>>>> to reproduce the bug with any Xailer sample report. TIA.
>>>>
>>>> BTW, we have modified the report engine so any call to those methods
>>>> from ToExcel() will just do nothing so you can have the same code for
>>>> normal report and Excel export.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> Xailer support / Soporte de Xailer
>>>> http://www.xailer.com
>>>> http://www.xailer.info
>>>> "Ingo" <support@mandantwin.com> escribió en el mensaje
>>>> news:[email=4aef1d52@svctag-j7w3v3j....]4aef1d52@svctag-j7w3v3j....[/email]
>>>>> Hi,
>>>>> TReport:ToExcel() causes errors because oReport:oDevice:oCanvas is
>>>>> NIL:
>>>>> e.g. in line 949 (nDob := :oPen:nWidth * 2)
>>>>> or. in line 889 (:SelectFont( ::aFonts[ 1 ] ))
>>>>>
>>>>> Regards
>>>>> Ingo
>>>>>
>>>>
>>>>
>>>
>>
>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder