Spirin's fastreport library

Re: Spirin's fastreport library

Postby MGA » Wed Sep 12, 2018 2: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
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: Spirin's fastreport library

Postby AngelSalom » Wed Sep 12, 2018 2: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
User avatar
AngelSalom
 
Posts: 727
Joined: Fri Oct 07, 2005 7:38 am
Location: Benicarló (Castellón ) - España

Re: Spirin's fastreport library

Postby Otto » Wed Sep 12, 2018 5:31 pm

Hello,

can you show us how the report should look lime.

Thank you and best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Spirin's fastreport library

Postby karinha » Wed Sep 12, 2018 6:45 pm

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
karinha
 
Posts: 7813
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Spirin's fastreport library

Postby Otto » Wed Sep 12, 2018 9:01 pm

Thank you. But can't you upload it to a server which allows downloading without all these spam.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Spirin's fastreport library

Postby AngelSalom » Wed Sep 12, 2018 9: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: Select all  Expand view
: 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
User avatar
AngelSalom
 
Posts: 727
Joined: Fri Oct 07, 2005 7:38 am
Location: Benicarló (Castellón ) - España

Re: Spirin's fastreport library

Postby karinha » Thu Sep 13, 2018 12:49 pm

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
User avatar
karinha
 
Posts: 7813
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Spirin's fastreport library

Postby MGA » Thu Sep 13, 2018 3:58 pm

Angel,

congratulations
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: Spirin's fastreport library

Postby Otto » Thu Sep 13, 2018 6: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 123 guests