FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TO ANTONIO, TO CHARLES MyRpt of Charles
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 08:29 AM
Dear Antonio, Dear Charles

I'm trying to create a Italian document called "Fattura"

It's very very hard to create

I must create as this document




with this type footer




I make a try but I am stop because I not understood how make it

this the file saved
Code (fw): Select all Collapse
[Report]
cName=Fattura
cDescription=Fattura1
cAutor=Silvio Falconi
dData=10/25/12
cDirDat=C:\work\errori\MyRpt\test_fa
cFormatDate=DD/MM/YYYY
cFileEmf=
nHeight=289
nWidth=202
nPaperSize=9
nZoom=60
lPortrait=Yes
nItems=8

[Item1]
cId=ID001
cClass=TIMAGE
nType=2
nTop=7.73 mm.
nLeft=5.69 mm.
nHeight=31.33 mm.
nWidth=56.47 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
cFile=C:\work\errori\MyRpt\test_fa\Logo.bmp
lBorder=No
nImgFixHeight=5
[Item2]
cId=ID003
cClass=TBOX
nType=3
nTop=23.60 mm.
nLeft=85.72 mm.
nHeight=34.99 mm.
nWidth=107.25 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=16777215
nLineWidth=1
nLineType=1

[Item3]
cId=ID005
cClass=TBOX
nType=3
nTop=89.93 mm.
nLeft=2.84 mm.
nHeight=7.73 mm.
nWidth=195.00 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=14408667
nLineWidth=1
nLineType=1

[Item4]
cId=ID009
cClass=TBOX
nType=3
nTop=97.66 mm.
nLeft=2.84 mm.
nHeight=134.28 mm.
nWidth=195.00 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=16777215
nLineWidth=1
nLineType=1

[Item5]
cId=ID023
cClass=TBOX
nType=3
nTop=97.66 mm.
nLeft=26.00 mm.
nHeight=134.28 mm.
nWidth=60.13 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=16777215
nLineWidth=1
nLineType=1

[Item6]
cId=ID028
cClass=TBOX
nType=3
nTop=82.19 mm.
nLeft=165.75 mm.
nHeight=149.74 mm.
nWidth=22.75 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=16777215
nLineWidth=1
nLineType=1

[Item7]
cId=ID029
cClass=TBOX
nType=3
nTop=238.85 mm.
nLeft=2.84 mm.
nHeight=11.39 mm.
nWidth=195.81 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=16777215
nLineWidth=1
nLineType=1

[Item8]
cId=ID032
cClass=TBOX
nType=3
nTop=80.97 mm.
nLeft=125.53 mm.
nHeight=149.74 mm.
nWidth=22.75 mm.
lVisible=No
lFixed=Yes
nShadow=0
nLineWidth=1
lSpecial=No
nClrFore=0
nClrBack=16777215
nLineWidth=1
nLineType=1





I have two DATABASE

and I must insert on document these datas as you can see here simply




There is some one can help me please ? to create a test document to understand how create it with myrpt ? thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 10:55 AM

Hi,

You can try example CliAlb4. Use 4 tables and u can see totals also. Please, see repdemo and select this case...

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 11:49 AM
Charles,

for draw the horiz and vertical lines it is too hard

why not use the possibility to use dots as the same Paco make ?

it is too easy and you can have vertical and horz lines easy


your myRpt need this feature and I hope you make this modify ( please see informes.prg from c5Ide - METHOD PaintDots( hDC ) CLASS TRptItem)



for the test
I saw the sample now
for the body ok I saw

but I wish also another box con los tipos de IVA ( at left on bottom)

each articles have different iva ( 4 , 12, 20,30)
i build an array [ iva , tipo, totale, imponibile]

sample :

Code (fw): Select all Collapse
imponibile     iva     imposta       codiceiva
         5.60       4             0.22          04%
       20.50      10             2.05         10%
09.018.50       20      1.803.70         20%
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 12:09 PM

Silvio,

Now i haven' time for this, i'm sorry. All code is for u if you want to change some feature... For put dots u can check Active Grid in bar menu. I designed with powerpoint ther form, and for me the important is to place every item in the dessign

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 12:27 PM

Silvo

Have a look at \samples\invoice.prg .. good example on creating your own report from scratch using pens, color, fonts, lines and boxes.

Rick Lipkin

Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 05:31 PM

Rick,
this is an old problem

Antonio must resolve it to create a good Report designer like fastreport .
I believe to Expert Guru Maestro Francisco Garcia called Paco and only this MAN can resolve our problems !!!!

all languages of developer have a editor designer for report , how time we must wait for have one ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 05:49 PM

Silvio,
I understand your frustration, as a native Visual Report Designer would be a important tool for us Fivewiners users.
But be advised that Fivewin is a library, an excellent one, to be used together with [x]Harbour and others xBase languages and environments, and not an IDE.

Regards,

George

Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 07:17 PM
George wrote:Silvio,
I understand your frustration, as a native Visual Report Designer would be a important tool for us Fivewiners users.
But be advised that Fivewin is a library, an excellent one, to be used together with [x]Harbour and others xBase languages and environments, and not an IDE.

Regards,

George


Dear George,
Sorry I use library Fivewin from 1991 ( before with clipper ) and I never Known it could be only a Library and not an Ide....
there are many projects initiated and not finished....

Perhaps you not have the same problems I have with customers...I wish Know how you resolved the problem to have a user report designer... I not want create many and many reports for many customers..with hand... I thinked it could be possibles now we live on 2012 not on 800 A.C!!!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Thu Oct 25, 2012 09:31 PM

Silvio,
give FastReport a try.
Best regards,
Otto

Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Fri Oct 26, 2012 01:36 AM

fastreport for fwh www.spirins.com

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Fri Oct 26, 2012 07:25 AM

Silvio

Maybe FastReport for FWH is the solution for u, and in any other case you can try creating your tool. You have a good example to follow by expanding it. MyRpt I think is a good example with all sources and can tech u to design an application in FWH and if someone has helped in acquiring new knowledge of how to create an application, and I am very happy. I've always tried to help friends in this forum (the only one)... :wink:

If you think your friend Paco is the [u:nuvw0m2n]only man[/u:nuvw0m2n] who can do it, as you call him and take a help. :lol:

Nice weekend !

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Fri Oct 26, 2012 07:51 AM
I 'm searching something simply as this :

from Danea EasyFact web site www. danea.it



It is made with delphi ( zReport)

Some snapShots












Charles ,
your software is good but for the first release I perhaps not insert inspector class but only a simply dialog to set properties of each object

not it need to use fastReport or A Guru Man as Paco but Ithink your software can be modify best!!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 337
Joined: Fri Oct 07, 2005 02:44 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Fri Oct 26, 2012 01:13 PM
Hello,

Try with http://reportman.sourceforge.net/indexes.html.

Best regards,

Lautaro Moreira
Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Fri Oct 26, 2012 02:47 PM
Rick Lipkin wrote:Silvo
Have a look at \samples\invoice.prg .. good example on creating your own report from scratch using pens, color, fonts, lines and boxes.
Rick Lipkin


2 days lost, instead of using line and box commands from print function.
At this time the custom form would have already been made. :-)
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO ANTONIO, TO CHARLES MyRpt of Charles
Posted: Fri Oct 26, 2012 02:51 PM
yes of course Massimo
But I not must make only one !!!!
I'm making it with hand...


Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com