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.

Se encontraron 23 coincidencias

por dmajkic
Vie Abr 17, 2020 9:38 am
Foro: FastReport
Tema: Bug with variables
Respuestas: 4
Vistas: 55575

Re: Bug with variables

FRX can add variables as numbers. Try this: This will not work. If windows locale is set to Serbian Latin, where numbers are formated as 123,00 _BOL gets converted to 0,65 (note the coma), and expresion is [0,65+10] which raises exception. If we format _BOL as string :AddVariable("_BOL", ...
por dmajkic
Mar Abr 14, 2020 10:41 pm
Foro: FastReport
Tema: Bug with variables
Respuestas: 4
Vistas: 55575

Bug with variables

We are using one variable as coefficient for some calculations. We are encountering a bug if number has decimals. On HB side we have this: nBol := 0.65 oFR:AddVariable("_BOL", nBol) on FR side, we have this: [<SomeField>*<_BOL>] The issue is that variables in FR are exclusively strings. An...
por dmajkic
Jue Dic 08, 2016 12:33 am
Foro: FastReport
Tema: Batch printing - prepared report
Respuestas: 21
Vistas: 184432

Re: Batch printing - prepared report

Thank you Ignacio for your fast response!

With ForceReload I have distinct data, but variables are gone.

Please find minimal example attached. You can build it with "hbmk2 b.hbp". Set your licence and copy latest frx.dll in folder.
frx_test_multireport.zip
(51.36 KiB) Descargado 4237 veces
por dmajkic
Vie Dic 02, 2016 4:38 pm
Foro: FastReport
Tema: Batch printing - prepared report
Respuestas: 21
Vistas: 184432

Re: Batch printing - prepared report

Tried this again, but it is not working. I do this: // First Invoice frxReport1:LoadFromFile('Invoice.fr3') frxReport1:AddDbf( "INVOICE", {"INVOICE->*"} ) frxReport1:PrepareReport() // Second Invoice (code is not there, invoice data is different ) frxReport1:LoadFromFile('Invoice...
por dmajkic
Mié Nov 04, 2015 2:31 pm
Foro: FastReport
Tema: How to print a large text file
Respuestas: 0
Vistas: 3714

How to print a large text file

Old app have a number of prepared plain text reports. These are saved to files on local user disk. What is the best way to print such file? Tried with memo field, but it is extremly slow to load and show. Crosstab is significantly faster, but it mess with dispaly formating. I cant load lines and sen...
por dmajkic
Vie Nov 28, 2014 11:26 am
Foro: FastReport
Tema: Variables from report
Respuestas: 6
Vistas: 4581

Variables from report

This issue remains in new FRX version. Just for reminder, when example above is compiled and started: * Report is shown with "NEW VALUE" displayed on report preview * Click on Export->Email... * This should print on terminal "NEW VALUE", but it doesn't (instead prints old value) ...
por dmajkic
Vie Nov 28, 2014 11:20 am
Foro: FastReport
Tema: One more thing left to move to XailerFR - PNG picture
Respuestas: 8
Vistas: 5454

One more thing left to move to XailerFR - PNG picture

Just to report that with new FRX based on FastRepors v4.15 this issue is solved.
Thanks for fast response.
por dmajkic
Lun Nov 24, 2014 5:23 pm
Foro: FastReport
Tema: One more thing left to move to XailerFR - PNG picture
Respuestas: 8
Vistas: 5454

One more thing left to move to XailerFR - PNG picture

This is from FastReport changes.txt. There was problem with PNG images that was fixed with 4.15 version 4.15 --------------- - TfrxEmailExport.UseMAPI property renamed TransportType - fixed overlapping OS/2 table in font packing subsystem - fixed memory leaks in font packing subsystem + Added Embarc...
por dmajkic
Lun Nov 24, 2014 5:17 pm
Foro: FastReport
Tema: One more thing left to move to XailerFR - PNG picture
Respuestas: 8
Vistas: 5454

One more thing left to move to XailerFR - PNG picture

Quote:How could Sergey software could have that working? Or was something that did work on the past and on next releases got broken? These are the versions: Sergey FR version = 4.12.1 FRX FR Version = 4.13.1 Latest FR4 Version = 4.15 The issue could be that embedded PNG images from 4.12 are somehow ...
por dmajkic
Lun Nov 24, 2014 3:24 pm
Foro: FastReport
Tema: One more thing left to move to XailerFR - PNG picture
Respuestas: 8
Vistas: 5454

One more thing left to move to XailerFR - PNG picture

We reported the issue to FastReport also, and we got back that picture is displayed
fine with FR version 4.15.13.
Check forum link here: http://www.fast-report.com/en/forum/ind ... topic=1240 9
Is there a way to get frx with newer FR version - eg. 4.15?
Thank you.
por dmajkic
Lun Nov 24, 2014 2:05 pm
Foro: FastReport
Tema: One more thing left to move to XailerFR - PNG picture
Respuestas: 8
Vistas: 5454

One more thing left to move to XailerFR - PNG picture

Quote:Better send the PNG file. TIA.
Attached here: http://lovor.net/GlavniMeni.png
I can manually reload png to FRX report, and it show fine. But the problem is that we have a number of users with already made reports that will be left with blanks after upgrade to FRX.
por dmajkic
Vie Nov 21, 2014 10:43 pm
Foro: FastReport
Tema: One more thing left to move to XailerFR - PNG picture
Respuestas: 8
Vistas: 5454

One more thing left to move to XailerFR - PNG picture

We have a number of users that embed PNG images in fr3 files. When those files are loaded to Xailer version, some embedded PNG images are not recognized. They are just silently ignored and empty frame is shown. Since PNG is used for invoice logo images, it could be hard to upgrade without contacting...
por dmajkic
Vie Nov 21, 2014 7:13 pm
Foro: FastReport
Tema: Variables from report
Respuestas: 6
Vistas: 4581

Variables from report

Quote:The variable DOES NOT RECEIVE A VALUE UNTIL THE REPORT IS STARTED. No need to yell. I initialize variable TEST in report designer. Then on report create I change value (in PascalScript) to "NEW VALUE". That "NEW VALUE" is displayed on the report preview. I would like to ret...
por dmajkic
Jue Nov 20, 2014 9:46 pm
Foro: FastReport
Tema: Variables from report
Respuestas: 6
Vistas: 4581

Variables from report

Quote:I believe FR designer does not let you change any variable value You can create and set variables via designer (click on Report->Variables...), or via script using Set() and Get() functions. If you look at the bottom of the image, you can see what I am trying to do: Create Dialog, and return v...
por dmajkic
Jue Nov 20, 2014 11:56 am
Foro: FastReport
Tema: Variables from report
Respuestas: 6
Vistas: 4581

Variables from report

I looks like I can't get FastReport Varibale value. I set variable, and display it in report, but I am unable to get it'value from PRG. I need access to Variables from bOnBtnSendMail to perform my own Mail send to using HB sending engine which supports GMail. Please find attached ultra-simple exampl...
por dmajkic
Mié Nov 19, 2014 12:39 am
Foro: FastReport
Tema: bOnBtnSendMail
Respuestas: 1
Vistas: 2412

bOnBtnSendMail

If I set my own send function for email export like this: oFr:bOnBtnSendMail := {|| oFr:DoExport("PDFExport"), .T. } The screen gets gray - report is gone from screen. If I click on some other export button it will show up again. It looks like some "refresh" or "unlock"...
por dmajkic
Vie Nov 07, 2014 5:20 pm
Foro: FastReport
Tema: Export to Word?
Respuestas: 0
Vistas: 3102

Export to Word?

Will there be export to Word?
por dmajkic
Vie Nov 07, 2014 8:40 am
Foro: FastReport
Tema: Character code page conversion
Respuestas: 9
Vistas: 5568

Character code page conversion

Just to confirm - it works fine.
Thank you!
por dmajkic
Lun Nov 03, 2014 2:11 pm
Foro: FastReport
Tema: Character code page conversion
Respuestas: 9
Vistas: 5568

Character code page conversion

Quote:FR after this change
Looks fine!
Is this version released?
por dmajkic
Lun Nov 03, 2014 1:19 pm
Foro: FastReport
Tema: Character code page conversion
Respuestas: 9
Vistas: 5568

Character code page conversion

Quote:BTW, I have just check that the code above did not work correctly. Is fixed and it will be available on next release. In any case you can set the charset directly on the memo controls: If delphi used to compile FastReport in frx.dll is Unicode based, which is Delphi2009 and newer, than the del...
por dmajkic
Vie Oct 31, 2014 2:11 pm
Foro: FastReport
Tema: Character code page conversion
Respuestas: 9
Vistas: 5568

Character code page conversion

Quote:I suggest you post that question on FR support forums I have data in CP852 in DBF. In delphi FastReport, which is unicode I do manual CP852-> UnicodeString (delphi internal unicode string type). Delphi FR Datasets work with UnicodeStrings, which are supplied, and that works Ok. Spirin FR versi...
por dmajkic
Vie Oct 31, 2014 11:06 am
Foro: FastReport
Tema: Character code page conversion
Respuestas: 9
Vistas: 5568

Character code page conversion

How does XFR perform character conversion via AddArray()and AddDbf()? Is it unicode based? I have data in different formats (CP1250, CP852, CP1251), and I would like to display it. I can use Harbour built in conversion od HB_TRANSLATE(), but I am not sure what target FRX codepage is. What is the bes...
por dmajkic
Mar Oct 28, 2014 4:59 pm
Foro: FastReport
Tema: Batch printing - prepared report
Respuestas: 21
Vistas: 184432

Batch printing - prepared report

In FR documentation there is a neat feature which enables FR to print multiple documents in one go. Like this: frxReport1.LoadFromFile('Invoice.fr3'); frxReport1.PrepareReport; frxReport1.LoadFromFile('StorageOrder.fr3'); frxReport1.PrepareReport(False); frxReport1.ShowPreparedReport; The idea is to...