FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fast Reports -Sergey Rests
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 01:08 PM

This is a really bad and unaspected news.
We also using the Spirin's fastreport library
and it is really an excellent product that permits to have the FastReport power embedded in FWH with just a single self-contained dll.

I hope Antonio could take-over the Spirin sources.

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 01:32 PM

Is there a way that we could know the most active FastReport users groups ? It seems as the product is developed with Delphi.

I think that the best solution would be to turn it open source with a PayPal donation for her.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 01:33 PM

Is Spirin's FastReport just a DLL wrapper to FastReport ?

Who is FastReport developer ?

Is there a demo version for Spirin's DLL ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 03:07 PM

Antonio;

I've just sent you an email with information and links. Hope that helps.

Reinaldo.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 07:46 PM

It seems to me as Sergey adapted FastReport to be used with Harbour, but he was not FastReports developer.

I may be wrong, so I appreciate your comments

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 07:54 PM
Antonio;

You are absolutely right. All he did was obtain permission to distribute FastReports to the xbase community by developing the wrapper functions needed to use it. His business was the wrappers not fastreports itself.

Take a look at Fast Reports Inc. website:

http://www.fast-report.com/



Reinaldo.
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 07:56 PM
FastReports has distributors all over the place:
http://www.fast-report.com/en/news/9512.html

Reinaldo.
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 08:21 PM
Also check Philpenko's demo on using FastReports component from Delphi XE2. FR is now a standard component on Delphi:

http://www.youtube.com/watch?v=WZ3YdKpXpM8&feature=youtu.be

Reinaldo.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 08:38 PM

Reinaldo,

Then I see no problem at all as continuity of FR is asured :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 08:59 PM
Right, but not of the wrapper funcs or the FrSystH.dll. Every time a new FR version is released, Sergey would prepare a new .dll, .prg and .ch for us. Many times if you need some functionality that FR offers but was not part of the .prg/.dll (frh), he would rebuild them to include the needed functionality.

For example: not long ago, workareas set from code in frh did not understand extended field types such as timestamp and money fields. Sergey had to fix the .dll so that workareas from .adt or visual foxpro .dbf tables with extended fieldtypes would be received correctly by fast report. When FR included a new export format, Sergey had to rebuild the .dll and write the new wrapper (and class method) to make it available to frh.

I'm not sure all Sergey did, but for sure frh depended on his support. Frh is not sold nor maintained by fastreports.

Check the google group for frh:

https://groups.google.com/forum/?fromgroups#!forum/fastreport_for_x_harbour
Reinaldo.
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 09:08 PM

Hello Reinaldo,

Did you succeed in talking with Elena?.

The easiest way will be to obtain the sources. The key is to compile in delphi the .dll, as all the warpers to Harbour are already done.

Thank your for initiative.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Sun Jul 15, 2012 09:25 PM
@Lucas; I continue to try via different methods. I hope to hear from her soon.

@Antonio; "FastReport for [x]Harbour" (FRH) is developed by Sergey Spirin with authority of the OEM-agreement with Fast Report Inc. For more information about Sergey Spirin look page about him.

FRH is implemented as one Win32 dynamic link library (all in one dll) plus [x]Harbour-class of interaction with this library, which is supplied in source code and can be added to any [x]Harbour-application. Binding to HB API functions is performed at moment of object creating of this class, ie the model of "late binding" is implemented. Thus, the report generator has full access to the data of [x]Harbour-applications it can call all its procedures and functions, etc. FRH do not open any tables, all data it recieves directly, by calling HB API functions.

FRH does not require any installation. Redistribution FRH to end users is simply including FRH-dll as a part to your applications. For the full information on these products, please, download the documentation at section "Downloads Trial and Docs".

http://www.spirins.com/
Posts: 22
Joined: Fri May 04, 2012 03:26 PM
Re: Fast Reports -Sergey Rests
Posted: Wed Jul 18, 2012 11:53 PM
colleagues does anyone know how to use the command lines below with array

Code (fw): Select all Collapse
 oFrPrn:SetMasterDetail("relven5a", "relven5c", {||relven5a->pedido})      
 oFrPrn:SetResyncPair( "relven5a", "relven5c" )




thank you
Luizão PITBULL
FWH1104,XHARBOUR1.2,MYSQL\SQLLIB
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Fast Reports -Sergey Rests
Posted: Thu Jul 19, 2012 01:22 AM
Lets us say that you have an array aData where each element is an array of { CustomerNo, CustomerName, City } ;

Code (fw): Select all Collapse
   LOCAL hData    := { "customerno" => 1,;
                         "customername" =>2,;
                         "city" =>3 }

      :SetUserDataSet( "Customers", "CustomerNo;CustomerName;City", ;
                     { || nAt := 1  },;
                     { || nAt++ },;
                     { || nAt-- },;
                     { || nAt > LEN( aData ) },;
                     { |cFld| nCol := hGet( hData, LOWER( cFld ) ),  aData[ nAt, nCol ] } )


That will do it.

If you have other files with a relationship then you would need to resync() just the affected workarea.

For example, lets say you have an invoices table that relates to the customer number on the array, then you need to manually move the pointer on the invoices workarea and resync it every time you change row on the array, like this:

Code (fw): Select all Collapse
      bResync := { |n| "Invoices"->( dbSeek( aData[ n, 1 ] ) ), oFrh:Resync( "invoices" ) }
      :SetWorkArea( "Invoices", Select( "invoices" ) )
      :SetUserDataSet( "Customers", "CustomerNo;CustomerName;City", ;
                     { || nAt := 1, EVAL( bResync, nAt )  },;
                     { || nAt++, EVAL( bResync, nAt ) },;
                     { || nAt--, EVAL( bResync, nAt ) },;
                     { || nAt > LEN( aData ) },;
                     { |cFld| nCol := iif( hHasKey( hData, LOWER( cFld ) ), hGet( hData, LOWER( cFld ) ), 1 ),;
                                  aData[ nAt, nCol ] } )



Reinaldo.
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: Fast Reports -Sergey Rests
Posted: Thu Jul 19, 2012 01:42 AM
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651