FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Spirin's fastreport library
Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: Spirin's fastreport library
Posted: Wed Sep 12, 2018 02:04 PM

Angel, I believe this is not possible, you can at most indicate the field names, example:

: AddDbf ("CUSTOMER", {"Customer-> number", "Customer-> description"))

Now, to solve this your need, you could use array:

cCampos := 'numeronotaxxx,N;descricaoxxx,C'
oFastReport:addArray( 'PEDIDOS' , aVendas , cCampos )

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
Posts: 728
Joined: Fri Oct 07, 2005 07:38 AM
Re: Spirin's fastreport library
Posted: Wed Sep 12, 2018 02:32 PM
SGS wrote:Angel, I believe this is not possible, you can at most indicate the field names, example:

  : AddDbf ("CUSTOMER", {"Customer-> number", "Customer-> description"))

Now, to solve this your need, you could use array:

cCampos := 'numeronotaxxx,N;descricaoxxx,C'
oFastReport:addArray( 'PEDIDOS' , aVendas , cCampos )


it's what I was afraid of.
I'll try the array, but with very large tables I do not think it works.
Thank you very much
Angel Salom
Visionwin Software - https://www.visionwin.com
------------------------------------------------------------
fwh 19.05 - harbour 3.2 - bcc 7.4
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Spirin's fastreport library
Posted: Wed Sep 12, 2018 05:31 PM

Hello,

can you show us how the report should look lime.

Thank you and best regards
Otto

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Spirin's fastreport library
Posted: Wed Sep 12, 2018 06:45 PM

Excluded.

File with virus.

Sorry.

Regards.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Spirin's fastreport library
Posted: Wed Sep 12, 2018 09:01 PM

Thank you. But can't you upload it to a server which allows downloading without all these spam.
Best regards
Otto

Posts: 728
Joined: Fri Oct 07, 2005 07:38 AM
Re: Spirin's fastreport library
Posted: Wed Sep 12, 2018 09:12 PM
SGS wrote:Angel, I believe this is not possible, you can at most indicate the field names, example:

  : AddDbf ("CUSTOMER", {"Customer-> number", "Customer-> description"))

Now, to solve this your need, you could use array:

cCampos := 'numeronotaxxx,N;descricaoxxx,C'
oFastReport:addArray( 'PEDIDOS' , aVendas , cCampos )


Finally solved with :

Code (fw): Select all Collapse
 : AddDbf ("CUSTOMER", {"Customer-> number AS Code of customer", "Customer-> description AS Description Complete"))


Adding "AS" in fields definitions is how to do it.
Angel Salom
Visionwin Software - https://www.visionwin.com
------------------------------------------------------------
fwh 19.05 - harbour 3.2 - bcc 7.4
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Spirin's fastreport library
Posted: Thu Sep 13, 2018 12:49 PM

Excluded.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: Spirin's fastreport library
Posted: Thu Sep 13, 2018 03:58 PM

Angel,

congratulations

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Spirin's fastreport library
Posted: Thu Sep 13, 2018 06:42 PM

Hello João,
thank you. But these files are about FastReport.
I thought you show as a screen shot how the report should look like.

I used FastReport for years but now I am back at EasyReport. Much more flexible.
Also Report designer is for normal users much easier to handle.

Fivewins own printing class is much evolved and with EasyReport you can use the full power of the classes.

I can do all with EasyReport what I can do with FR but do not need other programming languages like Pascal script.

You have full Harbour and Fivewin power.

Thank you for uploading anyway.
Best regards
Otto

Continue the discussion