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.

Search found 23 matches

Go to advanced search

by nbatocanin
Thu Dec 22, 2016 8:15 pm
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

Re: Batch printing - prepared report

Ok, but I do not see the connection with this problem? This program with the new version does not work properly. PROC Main USE Art NEW EXCLUSIVE oFr := frReportManager():New() oFr:cFRLicense := ... oFr:cXALicense := ... Art->a_name := "This is 1111" oFR:Create() oFr:LoadFromFile ("rep...
by nbatocanin
Thu Dec 22, 2016 3:28 am
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

Re: Batch printing - prepared report

Sorry, I still do not understand?

by nbatocanin
Wed Dec 21, 2016 4:35 pm
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

Re: Batch printing - prepared report

Hello, Review FUNCTION Sergey() on module FRConsole.prg (line 364). Here is working fine. Regards, Sorry, I do not understand? Line 364 is: :AddVariable( "Categoria", "Nombre", 123 ) I use: oFr:AddVariable ("VAR", "X", 1) This is the same? I rewrote the progr...
by nbatocanin
Tue Dec 20, 2016 3:24 pm
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

Re: Batch printing - prepared report

Unfortunately, there is still a problem. Pleas look this test program: PROC Main USE Art NEW EXCLUSIVE oFr := frReportManager():New() oFr:cFRLicense := ... oFr:cXALicense := ... Art->a_name := "This is 1111" oFR:Create() oFr:LoadFromFile ("report.fr3") oFr:AddDbf ("ART"...
by nbatocanin
Tue Dec 20, 2016 2:35 am
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

Re: Batch printing - prepared report

I found FrDataset.prg, but do not know how to include this PRG into my program? Regards, NB Hello, Sorry, your message has been unintentionally forgotten. I hope you can include a simple line in the source code of FrDataset.prg. In case not I will upload a new version. Here is the code: METHOD Load(...
by nbatocanin
Mon Dec 19, 2016 1:23 am
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

Re: Batch printing - prepared report

Sorry to bother you, but this is very important to me.

Is there any chance of returning to the old way of working with empty arrays? Older versions accepts empty arrays and not report an error when this happens.

Regards, NB
by nbatocanin
Fri Dec 09, 2016 6:21 pm
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

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...
by nbatocanin
Fri Dec 09, 2016 3:47 pm
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

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)
by nbatocanin
Thu Dec 08, 2016 4:11 am
Forum: FastReport
Topic: Batch printing - prepared report
Replies: 21
Views: 7886

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...
by nbatocanin
Tue Dec 02, 2014 3:16 pm
Forum: FastReport
Topic: Date bug
Replies: 0
Views: 1139

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
by nbatocanin
Thu Nov 20, 2014 7:07 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

AddDbf

Thank you very much!!
Regards, NB
by nbatocanin
Thu Nov 20, 2014 3:55 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

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...
by nbatocanin
Wed Nov 19, 2014 11:28 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

AddDbf

[quote title=ignacio wrote on Wed, 19 November 2014 21:10:tunvagel]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 th...
by nbatocanin
Wed Nov 19, 2014 8:06 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

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....
by nbatocanin
Wed Nov 19, 2014 3:02 pm
Forum: FastReport
Topic: AddArray
Replies: 4
Views: 1257

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 str...
by nbatocanin
Wed Nov 19, 2014 2:13 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

AddDbf

I'll try to prepare a small example (I do not use a SET FILTER in this code).
Regards, NB
by nbatocanin
Wed Nov 19, 2014 1:43 pm
Forum: FastReport
Topic: AddArray
Replies: 4
Views: 1257

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, f) b :=...
by nbatocanin
Wed Nov 19, 2014 2:53 am
Forum: FastReport
Topic: AddArray
Replies: 4
Views: 1257

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 error:...
by nbatocanin
Tue Nov 18, 2014 7:32 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

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 ...
by nbatocanin
Tue Nov 18, 2014 4:03 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

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...
by nbatocanin
Mon Nov 17, 2014 11:24 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

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?
by nbatocanin
Mon Nov 17, 2014 5:38 pm
Forum: FastReport
Topic: AddDbf
Replies: 15
Views: 2361

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....
by nbatocanin
Fri Nov 07, 2014 1:03 am
Forum: FastReport
Topic: FastCube
Replies: 1
Views: 676

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

Go to advanced search