Page 1 of 1

oBRW:ToExcel() works only with character columns?

Posted: Wed Nov 12, 2008 1:57 pm
by max
I try to use oBRW:TOEXCEL() method to export the content of my xbrowse in a xls file.
I note that it works fine only if i specify all columns as "character" expression.
If i put just one column as a "numeric" expression in my xbrowse, i receive this error at runtime:
"Error Excel.Application:ACTIVESHEET:COLUMNS/0 S_OK: _STYLE" and my application quit.

Is it normal?
There is another more stable / powerful way for export the content of my xbrowse in a xls file?

Thank you.
Max

Posted: Thu Nov 13, 2008 7:35 am
by Antonio Linares
Works for all types of columns perfectly for Excel English installation. We are noticing some problems with other language installations We are addressing this issue..

Posted: Thu Nov 13, 2008 7:41 am
by max
Thank you, Antonio.

Let me know when you have a solution or something i can try for this issue.

Max

Posted: Thu Nov 13, 2008 4:42 pm
by PeterHarmes
I'm quite interested in this - are there any examples of :ToExcel() anywhere?

Regards

Pete

Posted: Fri Nov 14, 2008 7:18 am
by max
You can find examples in mallorca.prg and testxbr3.prg in \FWH\SAMPLES.

Max