FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Print Table
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Print Table
Posted: 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 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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Print Table
Posted: Sun May 24, 2020 12:54 PM
fwh\samples\print01.prg

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Print Table
Posted: Sun May 24, 2020 04: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 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: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Print Table
Posted: Mon May 25, 2020 08: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 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

Continue the discussion