FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour FWMARIA TOEXCEL ERROR FREEZEPANES
Posts: 42
Joined: Thu Jul 13, 2006 12:20 AM
FWMARIA TOEXCEL ERROR FREEZEPANES
Posted: Fri Apr 05, 2024 06:11 PM

Estimado Foro

Al realizar la exportacion a Excel desde un browse me muestra el siguiente error desde algunas consultas

Error description: Error Excel.Application:ACTIVEWINDOW/3 DISP_E_MEMBERNOTFOUND: _FREEZEPANES

Args: [ 1] = L .T.

Stack Calls

===========

Called from: => TOLEAUTO:_FREEZEPANES( 0 )

Called from: .\source\internal\FWMARIA.PRG => FWMARIAROWSET:TOEXCEL( 5640 )

Luego de revisar las consultas de porque genera bien el excel en unos y no en otros me percate que el usuario habia digitado columnas de tipo fecha con valores erroneos pero permitidos como por ejemplo : 0202/04/04 , 0224/03/03 , fechas con año menor a 1000, si bien ya lo corregi en la tabla dichos valores y valide los campos para que no pasaran esos valore de fecha, creo yo que no deberia generar ese error que la clase deberia de soportar esas fechas, espero se soluciones en versiones siguientes

La version que uso es la siguiente

FWH2307

xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914)

Borland 7.6

Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: FWMARIA TOEXCEL ERROR FREEZEPANES
Posted: Sat Apr 06, 2024 11:32 AM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: FWMARIA TOEXCEL ERROR FREEZEPANES
Posted: Sat Apr 06, 2024 02:21 PM
It appears you are using
Code (fw): Select all Collapse
oRowSet:ToExcel()
of FWMaria lib.
We will now include this code in TRY/CATCH block for future.

But we advise you to use oBrw:ToExcel() which is safer.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: FWMARIA TOEXCEL ERROR FREEZEPANES
Posted: Tue Apr 09, 2024 06:11 PM

In the next version to be released.

  1. :lFreezePanes does not raise runtime error.

  2. Dates and TimeStamps earlier than the year 1900 are exported as text to avoid loss of data and export errors.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion