Página 1 de 1

Xailer 2 RC 1 bug in TReport

Publicado: Lun Nov 02, 2009 6:56 pm
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

Xailer 2 RC 1 bug in TReport

Publicado: Lun Nov 02, 2009 7:55 pm
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
>

Xailer 2 RC 1 bug in TReport

Publicado: Lun Nov 02, 2009 7:55 pm
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
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 8:28 am
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
>>
>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 8:28 am
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
>>
>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 8:53 am
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
>>
>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 8:53 am
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
>>
>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 9:54 am
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
>>>
>>
>>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 9:54 am
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
>>>
>>
>>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 11:16 am
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
>>>>
>>>
>>>
>>
>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 11:16 am
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
>>>>
>>>
>>>
>>
>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 5:23 pm
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
>>>>>
>>>>
>>>>
>>>
>>
>>
>

Xailer 2 RC 1 bug in TReport

Publicado: Mar Nov 03, 2009 5:23 pm
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
>>>>>
>>>>
>>>>
>>>
>>
>>
>