Print Table

Print Table

Postby Silvio.Falconi » Sun May 24, 2020 10:26 am

I tried to print a table aData but On Paper there is nothing

I made
nRow:= 7.5
nCol:= 1

AaDd(aData,{nElemento,cTipoElemento, dCheckin, dCheckout, cGuest} )

@ nRow, nCol PRINT TO oPrn TABLE aData ;
SIZE 100,30 FONT oFont BORDER TITLE "WW" CM
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Print Table

Postby nageswaragunupudi » Sun May 24, 2020 12:54 pm

fwh\samples\print01.prg

Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10465
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Print Table

Postby Silvio.Falconi » Sun May 24, 2020 4:30 pm

thanks I wish create a small function to print any data array on my app
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Print Table

Postby Silvio.Falconi » Mon May 25, 2020 8:04 pm

the only thing that could be useful is to make small changes:
I ran the function to simulate the list of a body of an invoice: if there was the possibility of programming that in the n row must divide the table by the new page, it would perhaps be nice.
another addition could be the possibility to choose the type of line (pen) or to insert a line after each record
Finally the possibility to calculate the total for those numeric columns.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 48 guests