FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour oBrw:ToExcel() doesn't runs with FWH9.10
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
oBrw:ToExcel() doesn't runs with FWH9.10
Posted: Tue Nov 03, 2009 06:38 PM

Hi all,
there is a problem using the method oBrw:ToExcel() when only openoffice (3.0 >) is installed.

A self contained sample is available on www.softwarexp.co.uk/beta/xtest.zip and the following error appairs:

Application

Path and name: C:\BRW.EXE (32 bits)
Size: 1,853,952 bytes
Time from start: 0 hours 0 mins 2 secs
Error occurred at: 03/11/09, 19:28:18
Error description: Error BASE/1102 Argument error: UPPER
Args:
[ 1] = U

Stack Calls

Called from: => UPPER(0)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:TOCALC(6563)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:TOEXCEL(5993)
Called from: K:\TESTXBRW\XTEST.PRG => (b)MAIN(34)
Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK(176)
Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT(1427)
Called from: .\source\classes\WINDOW.PRG => _FWH(3347)
Called from: => SENDMESSAGE(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND(407)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT(928)
Called from: => DIALOGBOXINDIRECT(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(273)
Called from: K:\TESTXBRW\XTEST.PRG => MAIN(36)

Any solution or turnaround ?
I have a lot of customers with OpenOffice instead of Microsoft Office so I need an urgent solution.
Thanks in advance.

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: oBrw:ToExcel() doesn't runs with FWH9.10
Posted: Tue Nov 03, 2009 06:52 PM

Marco,

We are already reviewing it to provide you a solution today or tomorrow morning, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: oBrw:ToExcel() doesn't runs with FWH9.10
Posted: Wed Nov 04, 2009 03:02 AM
Please substitute the present line 5993 in METHOD ToExcel( ... )
return ::ToCalc( bProgress, nGroupBy,, aCols )

as
return ::ToCalc( bProgress, nGroupBy,,, aCols )

One more comma is needed in the parameters.
Regards



G. N. Rao.

Hyderabad, India
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: oBrw:ToExcel() doesn't runs with FWH9.10
Posted: Wed Nov 04, 2009 10:56 AM

It runs. Thanks

Best Regards,



Marco Turco

SOFTWARE XP LLP

Continue the discussion