oBRW:ToExcel() works only with character columns?

Post Reply
User avatar
max
Posts: 122
Joined: Fri Jun 30, 2006 2:14 pm
Location: Ancona - Italy

oBRW:ToExcel() works only with character columns?

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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..
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
max
Posts: 122
Joined: Fri Jun 30, 2006 2:14 pm
Location: Ancona - Italy

Post by max »

Thank you, Antonio.

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

Max
PeterHarmes
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Post by PeterHarmes »

I'm quite interested in this - are there any examples of :ToExcel() anywhere?

Regards

Pete
User avatar
max
Posts: 122
Joined: Fri Jun 30, 2006 2:14 pm
Location: Ancona - Italy

Post by max »

You can find examples in mallorca.prg and testxbr3.prg in \FWH\SAMPLES.

Max
Post Reply