Page 1 of 2

TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 8:29 am
by Silvio.Falconi
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

Image


with this type footer

Image


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

this the file saved
Code: Select all  Expand view
[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

Image


There is some one can help me please ? to create a test document to understand how create it with myrpt ? thanks

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 10:55 am
by Carles
Hi,

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

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 11:49 am
by Silvio.Falconi
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: Select all  Expand view
imponibile     iva     imposta       codiceiva
         5.60       4             0.22          04%
       20.50      10             2.05         10%
09.018.50       20      1.803.70         20%

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 12:09 pm
by Carles
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

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 12:27 pm
by Rick Lipkin
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

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 5:31 pm
by Silvio.Falconi
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 ?

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 5:49 pm
by George
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

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 7:17 pm
by Silvio.Falconi
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!!!

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Thu Oct 25, 2012 9:31 pm
by Otto
Silvio,
give FastReport a try.
Best regards,
Otto

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Fri Oct 26, 2012 1:36 am
by ShumingWang
fastreport for fwh www.spirins.com

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Fri Oct 26, 2012 7:25 am
by Carles
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 only man who can do it, as you call him and take a help. :lol:

Nice weekend !

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Fri Oct 26, 2012 7:51 am
by Silvio.Falconi
I 'm searching something simply as this :

from Danea EasyFact web site www. danea.it

Image

It is made with delphi ( zReport)

Some snapShots

Image

Image

Image

Image

Image


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!!

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Fri Oct 26, 2012 1:13 pm
by Lautaro
Hello,

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

Best regards,

Lautaro Moreira

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Fri Oct 26, 2012 2:47 pm
by Massimo Linossi
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. :?

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

PostPosted: Fri Oct 26, 2012 2:51 pm
by Silvio.Falconi
yes of course Massimo
But I not must make only one !!!!
I'm making it with hand...


Image