Spirin's fastreport library

MGA
Posts: 1289
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Re: Spirin's fastreport library

Post by MGA »

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 )
[email protected]

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
User avatar
AngelSalom
Posts: 730
Joined: Fri Oct 07, 2005 7:38 am
Location: Benicarló (Castellón ) - España
Contact:

Re: Spirin's fastreport library

Post by AngelSalom »

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 24.07 - harbour 3.2 - bcc 7.7

User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Spirin's fastreport library

Post by Otto »

Hello,

can you show us how the report should look lime.

Thank you and best regards
Otto
User avatar
karinha
Posts: 8720
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: Spirin's fastreport library

Post by karinha »

Excluded.

File with virus.

Sorry.

Regards.
Last edited by karinha on Thu Sep 13, 2018 3:12 pm, edited 1 time in total.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Spirin's fastreport library

Post by Otto »

Thank you. But can't you upload it to a server which allows downloading without all these spam.
Best regards
Otto
User avatar
AngelSalom
Posts: 730
Joined: Fri Oct 07, 2005 7:38 am
Location: Benicarló (Castellón ) - España
Contact:

Re: Spirin's fastreport library

Post by AngelSalom »

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: Select all | Expand

: 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 24.07 - harbour 3.2 - bcc 7.7

User avatar
karinha
Posts: 8720
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: Spirin's fastreport library

Post by karinha »

Excluded.
Last edited by karinha on Thu Sep 20, 2018 8:11 pm, edited 1 time in total.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
MGA
Posts: 1289
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Re: Spirin's fastreport library

Post by MGA »

Angel,

congratulations
[email protected]

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Spirin's fastreport library

Post by Otto »

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
Post Reply