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 42 coincidencias

por nbatocanin
Vie Dic 09, 2016 6:21 pm
Foro: FastReport
Tema: Batch printing - prepared report
Respuestas: 21
Vistas: 184428

Re: Batch printing - prepared report

Hello, Array can not be empty. BTW, run time error controlled for next release. Regards, I use the older version (1.5.1411.27) and it accepts empty arrays (= DBF tables without records) without any problems. It is impossible for me to change the all program/reports and looking for all the places wh...
por nbatocanin
Vie Dic 09, 2016 3:47 pm
Foro: FastReport
Tema: Batch printing - prepared report
Respuestas: 21
Vistas: 184428

Re: Batch printing - prepared report

After new version instalation:

Error BASE/1082 Argument error: -
Called from TFRARRAYDATASET:LOAD(549)
Called from FRAPP:LOADDATA(400)
Called from FRAPP:LOADREPORT(486)
Called from FRAPP:LOADFROMFILE(661)
Called from FR_REPORT(582)
por nbatocanin
Jue Dic 08, 2016 4:11 am
Foro: FastReport
Tema: Batch printing - prepared report
Respuestas: 21
Vistas: 184428

Re: Batch printing - prepared report

This program works: oFr:Create() Art->a_name := "Field 1111" oFr:LoadFromFile ("report.fr3") oFr:AddDbf ("ART", {"ART->*"}) oFr:PrepareReport(.F.) Art->a_name := "Field 2222" oFr:LoadFromFile ("report.fr3") oFr:AddDbf ("ART", {&qu...
por nbatocanin
Mar Dic 02, 2014 3:16 pm
Foro: FastReport
Tema: Date bug
Respuestas: 0
Vistas: 2575

Date bug

Hello!
I think there is a bug with date display. Display of empty date CtoD("") gets some bad value (for example, year 1899). In the same way working Spirins version, too.
Regards, NB
por nbatocanin
Jue Nov 20, 2014 7:07 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

Thank you very much!!
Regards, NB
por nbatocanin
Jue Nov 20, 2014 3:55 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

ignacio wrote on Thu, 20 November 2014 10:02 As I can see on your code you are using up to 7 DBF files passing absolutely all its fields and records. Even worst, you are creating relations you never use in the report. They are completely useless and even consume time because skip operations on maste...
por nbatocanin
Mié Nov 19, 2014 11:28 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

[quote title=ignacio wrote on Wed, 19 November 2014 21:10]nbatocanin escribió el mié, 19 noviembre 2014 20:06 FRX normally retrieves all the data on the PrepareReport() statement, Spirin does not. it retrieves on a demand basis. This means, that only when you change the page on a preview the data is...
por nbatocanin
Mié Nov 19, 2014 8:06 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

I made a test for Spirin's and Xailer's version (in attachment). Each table has less than 100 records. I started a program on a shared network drive. Here are the results: Spirin: 1.15 + 0.10 = 1.25 sec FRX: 0.07 + 5.53 = 6.00 sec First time is initialization, and the second is PrepareReport() call....
por nbatocanin
Mié Nov 19, 2014 3:02 pm
Foro: FastReport
Tema: AddArray
Respuestas: 4
Vistas: 3400

AddArray

ignacio wrote on Wed, 19 November 2014 14:30Dear Sir, Cita:This application works correctly. But, if you delete the (*) lines (table oA2 is empty), receives the error "SetMaster detail - Detail field t_id not found". The bug arises because your array structure is not equal to your fields s...
por nbatocanin
Mié Nov 19, 2014 2:13 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

I'll try to prepare a small example (I do not use a SET FILTER in this code).
Regards, NB
por nbatocanin
Mié Nov 19, 2014 1:43 pm
Foro: FastReport
Tema: AddArray
Respuestas: 4
Vistas: 3400

AddArray

I think the object is _not_ valid. Please look at the following example: #include "frh.ch" PROC Main oFr := FrReportManager():New() oFr:Create() f := {{"t_id", "N", 10, 0}} a := {} AAdd (a, {100}) AAdd (a, {200}) AAdd (a, {300}) oA1 := oFr:AddArray ("niz1", a,...
por nbatocanin
Mié Nov 19, 2014 2:53 am
Foro: FastReport
Tema: AddArray
Respuestas: 4
Vistas: 3400

AddArray

I'm trying to add tables to report using AddArray method. This work fine, but i found one problem. When table is empty, then there is no data and method calling is: oTest := oFr:AddArray ("Test", {}, aStruc) This call does not add the table in the report. For example, this produces an erro...
por nbatocanin
Mar Nov 18, 2014 7:32 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

ignacio wrote on Tue, 18 November 2014 17:19Dear Sir, FRX can also use relations, both DBF related or FR related. Check our master-detail examples. Yes, I've studied all the examples in detail and I use SetMaster constantly. My message is related to easy sending parts of the large tables in the FRX ...
por nbatocanin
Mar Nov 18, 2014 4:03 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

Hmmmm, I was hoping that there is a more elegant way . AddArray can be used in simple table cases, but if there are multiple related tables, it is not an easy task. For example, I have a invoice-items table that is related to articles table. Currently I create a TMP table that keeps RecNo() of all i...
por nbatocanin
Lun Nov 17, 2014 11:24 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

Thanks!
Which is the preferred method for the selection of several records from the table? For example, I have a array of RecNo() and want to show this records from a large table?
por nbatocanin
Lun Nov 17, 2014 5:38 pm
Foro: FastReport
Tema: AddDbf
Respuestas: 15
Vistas: 10108

AddDbf

I have doubts about how works AddDbf. For example, I want to show only one row from the table: oFr := FrReportManager():New() USE Test NEW SET FILTER TO RecNo() == 10 GO TOP oFr:AddDbf ("Test", "Test->*") // SET FILTER TO oFr:DesignReport() oFr:End() This example works correctly....
por nbatocanin
Vie Nov 07, 2014 1:03 am
Foro: FastReport
Tema: FastCube
Respuestas: 1
Vistas: 2289

FastCube

Hello!
Do you plan to support FastCube? I think it would be extremely useful for all users (top technology in reporting). If someone interested, you can see the impressive demo on FastReport site.
Regards, NB