In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

New FastReport revision

FastReport for Xailer & [x]Harbour (English/Spanish)
Responder
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

New FastReport revision

Mensaje por ignacio »

Dear user,
A new FastReport FOR [X]HARBOUR revision (1.2) has been published on our download area.
This new revision fixes some bugs and includes the following events:
- TReport:bOnBtnGenPdf
- TReport:bOnBtnSendMail
- TReport:bOnBtnPrint
- TReport:bOnPageChanged
The three first events make a hook on this Preview toolbar buttons: PDF, SendMail and Print. You can do what ever you want on them. If a NIL value is returned the default button action will be performed, but you can change any parameter before. For example:
oReport:bOnBtnSendmail := {|o| o:SetProperty( "MAILEXPORT", "Address", "Ignacio" ),NIL }
The bOnPageChanged is evaluated every time the preview page is modified and receives as second parameter the page number.
All this features will also be available on Xailer version of FastReport on next revision of Xailer 3.2
Regards,
Xailer team
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
a.ilic
Mensajes: 37
Registrado: Vie Sep 27, 2013 1:13 am

New FastReport revision

Mensaje por a.ilic »

Great new features!
I have to notice that new FRX.DLL is up to four times bigger then in previous versions. Now, it goes above 10.5 MB, while previous one was 2.5 MB.
I have also one problem. When I build your FrConsole (form source folder), and start it, choosing option 6 (Sergey mode), the error is displayed:

Opening DBFs ...
Error BASE/1005 Message not found: FRREPORTMANAGER:_BONBTNSENDMAIL
Called from __ERRRT_SBASE(0)
Called from FRREPORTMANAGER:ERROR(0)
Called from (b)HBOBJECT(0)
Called from FRREPORTMANAGER:MSGNOTFOUND(0)
Called from FRREPORTMANAGER:_BONBTNSENDMAIL(0)
Called from SERGEY(346)
Called from MENU(92)
Called from MAIN(36)

The problem is on line 346:

:bOnBtnSendMail := {|| Alert( "Email" ), 1 }
:bOnBtnPrint := {|| Alert( "Print" ), 1 }
:bOnBtnGenPdf := {|| Alert( "Gen PDF" ), 1 }

These are new features, so something is not right. I have the latest (nightly build) HB version.
Regards,
Aleksandar Ili?
Software developer
Wings Software
http://www.wings.rs
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

New FastReport revision

Mensaje por ignacio »

Hello,
It seems you are mixing incorrect static and dynamic libraries our maybe is our fault, I do not know. In any case I have just upload a new version to our download area that checks that the DLL corresponds with the static libraries and also includes the user function "gethbarrayvar".
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
a.ilic
Mensajes: 37
Registrado: Vie Sep 27, 2013 1:13 am

New FastReport revision

Mensaje por a.ilic »

ignacio wrote on Mon, 04 November 2013 17:29Hello,
It seems you are mixing incorrect static and dynamic libraries our maybe is our fault, I do not know. In any case I have just upload a new version to our download area that checks that the DLL corresponds with the static libraries and also includes the user function "gethbarrayvar".
Regards,
Hi,
I uninstalled FrX, and installed the latest version, and also the latest HB version. Still the same error after I build and run menu option 6 (Sergey).
I don't understand how's your FrConsole working, and when I build it (successfully), it won't execute Sergey option. Just to mention that with some of previous versions of FrX, I didn't have this problem - was able to build and run FrConsole.
Regards,
Aleksandar Ili?
Software developer
Wings Software
http://www.wings.rs
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

New FastReport revision

Mensaje por ignacio »

Hello,
Please include manually in your project all the library files and check the existence of TFastReport:bOnBtnSendMail.
Maybe your linker is also including the Sergey library and its FrReportManager is linked instead of ours.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
a.ilic
Mensajes: 37
Registrado: Vie Sep 27, 2013 1:13 am

New FastReport revision

Mensaje por a.ilic »

ignacio wrote on Wed, 06 November 2013 17:30Hello,
Please include manually in your project all the library files and check the existence of TFastReport:bOnBtnSendMail.
Maybe your linker is also including the Sergey library and its FrReportManager is linked instead of ours.
Regards,
Hi,
I need to return once again to this topic. I've downloaded the latest Xailer FR (from December 2013) and when I try to build your demo console application (FrConsole.prg), the error occurs:
hbmk2: Linking... FrConsole.exe
c:/frx/Lib/libxaFrhMin.a(iFastReport.o):(.text+0x215): undefined reference to
`GetFileVersionInfoSizeA@8'
c:/frx/Lib/libxaFrhMin.a(iFastReport.o):(.text+0x2b9): undefined reference to
`GetFileVersionInfoA@16'
c:/frx/Lib/libxaFrhMin.a(iFastReport.o):(.text+0x2e7): undefined reference to
`VerQueryValueA@16'
collect2: ld returned 1 exit status
hbmk2[build]: Error: Running linker. 1
I'm using Harbour and MinGw. As it can be seen from the error above, libxaFrhMin.a is used.
Part of HBP file:
-Lc:frxLib
-lxaFrhMin
I've also checked if there is some other (older) lib in c:hb32libwinmingw, and there is not.
Thanks in advance.
Regards, AI
Aleksandar Ili?
Software developer
Wings Software
http://www.wings.rs
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

New FastReport revision

Mensaje por ignacio »

Hello,
You need to include this MinGW library: version
Regards,


Attached files
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
a.ilic
Mensajes: 37
Registrado: Vie Sep 27, 2013 1:13 am

New FastReport revision

Mensaje por a.ilic »

ignacio wrote on Thu, 06 March 2014 20:19You need to include this MinGW library: version
That's it! Thanks.
Just to report, that now it's not possible to set license through method SetLicense(), because of this error:
Error FASTREPORT/143 TFastReport Error: Exported function SetLicense() not found in DLL
I used this method from beginning, but, since there are alternatives, it's not that important.
Regards, AI
Aleksandar Ili?
Software developer
Wings Software
http://www.wings.rs
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

New FastReport revision

Mensaje por ignacio »

a.ilic escribió el vie, 07 marzo 2014 11:11ignacio wrote on Thu, 06 March 2014 20:19You need to include this MinGW library: version
That's it! Thanks.
Just to report, that now it's not possible to set license through method SetLicense(), because of this error:
Error FASTREPORT/143 TFastReport Error: Exported function SetLicense() not found in DLL
I used this method from beginning, but, since there are alternatives, it's not that important.
Regards, AI
Be aware that SetLicense() must be called after the object runs its method Create(). BTW, a better error description now is given. Thank you for your feedback.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
a.ilic
Mensajes: 37
Registrado: Vie Sep 27, 2013 1:13 am

New FastReport revision

Mensaje por a.ilic »

ignacio wrote on Fri, 07 March 2014 15:21Be aware that SetLicense() must be called after the object runs its method Create(). BTW, a better error description now is given. Thank you for your feedback.
You're welcome. Don't forget that invoking method Create() is not required when using Sergey compatibility class (frReportManager).
Aleksandar Ili?
Software developer
Wings Software
http://www.wings.rs
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

New FastReport revision

Mensaje por ignacio »

a.ilic escribió el vie, 07 marzo 2014 16:28ignacio wrote on Fri, 07 March 2014 15:21Be aware that SetLicense() must be called after the object runs its method Create(). BTW, a better error description now is given. Thank you for your feedback.
You're welcome. Don't forget that invoking method Create() is not required when using Sergey compatibility class (frReportManager).
I know, but we are not Sergey. Yo can invoke Create() directly but then some things do not work, like setting he DLL path.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder