oBRW:ToExcel() works only with character columns?

oBRW:ToExcel() works only with character columns?

Postby max » Wed Nov 12, 2008 1:57 pm

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
max
 
Posts: 128
Joined: Fri Jun 30, 2006 2:14 pm
Location: Ancona - Italy

Postby Antonio Linares » Thu Nov 13, 2008 7:35 am

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

Postby max » Thu Nov 13, 2008 7:41 am

Thank you, Antonio.

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

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

Postby PeterHarmes » Thu Nov 13, 2008 4:42 pm

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

Regards

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

Postby max » Fri Nov 14, 2008 7:18 am

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

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests