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 )
Spirin's fastreport library
- AngelSalom
- Posts: 727
- Joined: Fri Oct 07, 2005 7:38 am
- Location: Benicarló (Castellón ) - España
- Has thanked: 1 time
- Contact:
Re: Spirin's fastreport library
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
Visionwin Software - https://www.visionwin.com
------------------------------------------------------------
fwh 19.05 - harbour 3.2 - bcc 7.4
- Otto
- Posts: 6399
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 9 times
- Been thanked: 2 times
- Contact:
Re: Spirin's fastreport library
Hello,
can you show us how the report should look lime.
Thank you and best regards
Otto
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- karinha
- Posts: 7917
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Spirin's fastreport library
Excluded.
File with virus.
Sorry.
Regards.
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
- Otto
- Posts: 6399
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 9 times
- Been thanked: 2 times
- Contact:
Re: Spirin's fastreport library
Thank you. But can't you upload it to a server which allows downloading without all these spam.
Best regards
Otto
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- AngelSalom
- Posts: 727
- Joined: Fri Oct 07, 2005 7:38 am
- Location: Benicarló (Castellón ) - España
- Has thanked: 1 time
- Contact:
Re: Spirin's fastreport library
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 19.05 - harbour 3.2 - bcc 7.4
Visionwin Software - https://www.visionwin.com
------------------------------------------------------------
fwh 19.05 - harbour 3.2 - bcc 7.4
- karinha
- Posts: 7917
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Spirin's fastreport library
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
- Otto
- Posts: 6399
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 9 times
- Been thanked: 2 times
- Contact:
Re: Spirin's fastreport library
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
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************