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.

How to print a large text file

FastReport for Xailer & [x]Harbour (English/Spanish)
dmajkic
Posts: 21
Joined: Wed Sep 24, 2014 12:48 pm

How to print a large text file

Postby dmajkic » Wed Nov 04, 2015 2:31 pm

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 send them as dataset, as FRX only accepts DBF and Array.

Only thing left is to load file in memory array, and then print it as array dataset to FR.
Is there a way to do that without loading whole file in memory?

Return to “FastReport”