Search found 125 matches: npage

Return to advanced search

Re: Calculate total pages

... "title row 2" local nTotalpages:= oRep:oDevice:cLastPage oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+(nTotalpages)} }, oRep, 2 ) I tried and run ok thanks Rao
by Silvio.Falconi
Tue Nov 28, 2023 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5878

Re: Calculate total pages

Is It possible also with treport? Yes Where you write page number, write something like this: "Page : " + cValToChar( nPage ) + ;            " of " + oRep:oDevice:cLastPage Nages, There is something not run ok on Treport https://i.postimg.cc/WzYHVtyx/kk.png ...
by Silvio.Falconi
Mon Nov 27, 2023 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5878

Number Total Pages

... ( class Treport) the total number of pages ? local nTotalpages:= ? oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+Str(nTotalpages,3)} }, oRep, 2 ) I tried also with nTotalpages:=:= Round(oRep:nCount/oRep:nPageSize,0) thanks
by Silvio.Falconi
Fri Nov 17, 2023 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number Total Pages
Replies: 2
Views: 211

Number Total Pages

... oRep:oheader := TrLine():New( {{||cTitle1},{||cTitle2} }, oRep, 0 ) oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+Str(nTotalpages,3)} }, oRep, 2 )
by Silvio.Falconi
Fri Jun 23, 2023 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number Total Pages
Replies: 2
Views: 260

Re: bsetup of Report

... result but i still have problems 1) the stripes don't have the pajama effect, they are all grey 2) does not recognize "Page : "+Str(oRep:nPage,3) 3) the title line needs to be narrower oBrw:Report( "Stampa elenco", nil, nil, { | oRep, oBrw, n| RepSetUp( oRep, oBrw, n ) }) static ...
by Silvio.Falconi
Wed Apr 26, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bsetup of Report
Replies: 1
Views: 159

Ayuda con REPORT

Hola Amigos. Tengo un reporte realizado con REPORT, el cual se imprime en hoja nueva por cada GROUP, necesito que al cambiar de GROUP, el nPage comience en 1. Muchos Saludos Antonio Dejo el codigo: Static Function InfTAte(Tit,cNom)            Local cTi1,cTi2,oPen1,oPen2,oFo1,oFo2,oFo3,oLine,oFo4,nCounter ...
by remtec
Tue Oct 11, 2022 4:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con REPORT
Replies: 2
Views: 322

Re: set Report Orientation

... llandscape oRep:lAutoLand := .T. else oRep:lAutoLand := .f. Endif oRep:CellView() oRep:oFooter := TrLine():New( {{|| "Page : "+Str(oRep:nPage,3)} }, oRep, 3 ) return nil
by Silvio.Falconi
Tue Jan 04, 2022 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1686

Exportacíon Excel desde Reporte

... Alltrim(vEntregador),"Todos os Entregadores") CENTERED; FONT oFont1, oFont2, oFont3; FOOTER OemToAnsi("Pagina: ")+str(oReport:nPage,3) CENTERED; PREVIEW IF vDetalhado == .T. oReport:lSummary := .F. ELSE oReport:lSummary := .T. ENDIF COLUMN TITLE "Entregador" ; DATA ...
by danielgustavo
Thu Jun 24, 2021 2:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportacíon Excel desde Reporte
Replies: 0
Views: 310

MariaDb y oReport

... ; FONT oFont1, oFont2 ; HEADER "Fecha: " + DToC( Date() ) , "Hora.: " + Time() ; FOOTER "Página: " + Str( oReport:nPage, 3 ) ; PREVIEW NAME "Clientes" ; CAPTION "Clientes" COLUMN TITLE "NRO.","IVA"; DATA cliente,if(str(sit_iva,1) ...
by pedroluis
Sat May 08, 2021 9:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MariaDb y oReport
Replies: 3
Views: 607

Re: No puedo imprimir un bitmap con printer

... PRINT/ENDPRINT se controla desde atrás y es aquí donde se produce el error. Function printafoto(oImage,base) LOCAL cz:=lz:="" Local nPage:=X:=1 Local nHz:=0 *Local oImage Local oPrn IF BASE="FOTOS" PRINT oprn NAME "GRAFICOS" preview DEFINE FONT oFont1 NAME "MS ...
by pacotre
Fri May 29, 2020 10:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo imprimir un bitmap con printer
Replies: 5
Views: 1613

Re: ¿Cómo activo el botón XLS del Preview?

... DE TRABAJADORES HONORARIOS",; "Fecha: "+Dtoc(Date()),; "Hora : "+Time() LEFT ; FOOTER "Pag "+Str(oLis:nPage,3) CENTERED; CAPTION "Boletas de Medicamentos"; PREVIEW COLUMN TITLE "FECHA" DATA Boletas->FECHA COLUMN TITLE "Nº ...
by wyerco613
Wed Jun 19, 2019 5:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo activo el botón XLS del Preview?
Replies: 10
Views: 1293

Re: ¿Cómo activo el botón XLS del Preview?

... "+cRut; HEADER "SINDICATO",; "Fecha: "+Dtoc(Date()),; "Hora : "+Time() LEFT ; FOOTER "Pag "+Str(oLis:nPage,3) CENTERED; CAPTION "Boletas"; PREVIEW COLUMN TITLE "FECHA" DATA Boletas->FECHA COLUMN TITLE "Nº BOLETA" DATA ...
by wyerco613
Thu Jun 13, 2019 12:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo activo el botón XLS del Preview?
Replies: 10
Views: 1293

Re: class to make Report with tdatabase

... ,; "stabilimento bagno" ,; "stabilimento bagno" ,; "1234567890" LEFT ; FOOTER "Pagina: " + STR( ::oReport:nPage, 3 ) RIGHT ; PREVIEW and now seem print ok as you can see here ...very very strange https://i.postimg.cc/28WrXbcL/rr.png Someone ...
by Silvio.Falconi
Sat Jun 01, 2019 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: class to make Report with tdatabase
Replies: 5
Views: 1219

Excel SaveAs not working

... oExcel := GetActiveObject( "Excel.Application" ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH RETURN END END nPage := 1 nRow := 1 oBook := oExcel:WorkBooks:Add() oAS := oBook:Worksheets(1) oAs:Name := 'REPORT' oAS:Cells:Font:Name := "Arial" oAS:Cells:Font:Size ...
by cdmmaui
Thu Jul 05, 2018 6:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel SaveAs not working
Replies: 2
Views: 914

Re: libharu

The idea is good, but the implementation look a little lazy: The SetPage method takes the nPage from this list but this implementation calls HPDF_Page_SetSize that take the values from this list I tried using this code: //------------------------------------------------------------------------------METHOD ...
by AntoninoP
Thu Mar 01, 2018 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: libharu
Replies: 8
Views: 1916
Next

Return to advanced search