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
Print Table
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Print Table
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Print Table
thanks I wish create a small function to print any data array on my app
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Print Table
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.
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.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC