Search found 100 matches: orpt

Return to advanced search

Re: rPreview does not close when app closes

James Bott wrote:wndMain():bValid := {|| oRpt:lEnd := .t., .t.}


The last .t. is redundant. This is equivalent:

Code: Select all  Expand view
wndMain():bValid := {|| oRpt:lEnd := .t.}


EMG
by Enrico Maria Giordano
Fri Feb 11, 2011 7:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rPreview does not close when app closes
Replies: 15
Views: 4962

visualizar apaisado con la clase report

Gente quiero mostrar mi pagina apaisada para un reporte con la clase report pero no he tenido exito con esta instruccion oRpt:oDevice:SETLANDSCAPE() oRpt:Stabilize() Con la vers. fw2.1 recuerdo que el apaisado era automatico pero ahora que compilo con xharbour y fwh 8, ya no se cambia ...
by artu01
Fri Feb 11, 2011 4:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: visualizar apaisado con la clase report
Replies: 7
Views: 1016

Re: rPreview does not close when app closes

Reinaldo, You could try, when defining the report, something like this: wndMain():bValid := {|| oRpt:lEnd := .t., .t.} This should end the preview when the main window is closed. Regards, James Adopting Mr. James suggestion, the METHOD Activate() of TPreview class can ...
by nageswaragunupudi
Fri Feb 11, 2011 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rPreview does not close when app closes
Replies: 15
Views: 4962

Re: rPreview does not close when app closes

Reinaldo,

You could try, when defining the report, something like this:

wndMain():bValid := {|| oRpt:lEnd := .t., .t.}

This should end the preview when the main window is closed.

Regards,
James
by James Bott
Fri Feb 11, 2011 12:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rPreview does not close when app closes
Replies: 15
Views: 4962

Re: PREVIEW

armando.lagunas wrote:function reporte( lImp )
local oPrn, oRpt

IF lImp ; PRINTER oPrn FROM USER PREVIEW
ELSE ; PRINTER oPrn
ENDIF

REPORT oRpt TITLE ...... < etc >...... TO DEVICE oPrn
...
...
RETURN nil



Armando, muchas gracias. FUNCIONA PERFECTAMENTE.
by Manuel Valdenebro
Sat Nov 07, 2009 6:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PREVIEW
Replies: 13
Views: 2144

Re: PREVIEW

... la desición del usuario de ver o no el informe --------------------------------------------------------- function reporte( lImp ) local oPrn, oRpt IF lImp ; PRINTER oPrn FROM USER PREVIEW ELSE ; PRINTER oPrn ENDIF REPORT oRpt TITLE ...... < etc >...... TO DEVICE oPrn ... ... RETURN nil ...
by armando.lagunas
Sat Nov 07, 2009 5:43 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PREVIEW
Replies: 13
Views: 2144

Re: Problem in alligning say in report

... of the printer and paper. You have to compensate by calculating the actual distances. These print device properties return the pixels per inch: oRpt:oPrn:nLogPixelx(): 300 pixels per inch horizontal oRpt:oPrn:nLogPixely(): 300 pixels per inch vertical So, if you are doing nRow + 100 (pixels) ...
by James Bott
Sat Sep 12, 2009 6:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem in alligning say in report
Replies: 6
Views: 1033

Re: Problem in alligning say in report

Sajith, You have to remember that each printer may have a different resolution. You can get the printer's resolution like this: nHorz := oRpt:oPrn:nHorzRes() nVert := oRpt:oPrn:nVertRes() When you are using nRow + 100, that is 100 pixels and 100 pixels on your printer is not the same as 100 ...
by James Bott
Fri Sep 11, 2009 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem in alligning say in report
Replies: 6
Views: 1033

Re: Cambiar los Envabezados de Columnas de TReport

Javier, talvez este codigo parcial te pueda servir de guía. Saludos. //Columnas de las cuentas for n := nColIniCtas to (nColIniCtas+nColsCtas )-1 oRpt:AddColumn( TrColumn():New( { TituCol( cAlias, n, aCuentas ) },,; { DatoCol( cAlias, n, aCuentas ) },12,; { "@Z( 9,999,999,999.99"},,,,,,.t.,, ...
by FranciscoA
Sat Apr 04, 2009 5:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar los Encabezados de Columnas de TReport
Replies: 2
Views: 456

Re: Print Group Header in all Pages - Treport

Pedro,

I have never done it so I do not have an example.

If you are only using one defined group, then you may be able to just call the StartGroup method like this:

oRpt:bStartPage := ( || oRpt:startGroup( 1 ) }

Regards,
James
by James Bott
Mon Feb 09, 2009 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print Group Header in all Pages - Treport
Replies: 3
Views: 577

Re: Print Group Header in all Pages - Treport

Try using oRpt:bStartPage.

Regards,
James
by James Bott
Fri Feb 06, 2009 6:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print Group Header in all Pages - Treport
Replies: 3
Views: 577

Re: AYUDA CON REPORT PREVIEW

... por linea prueba de esta manera aTitulo := {} aadd( aTitulo, {|| "Titulo1" } ) aadd( aTitulo, {|| "Titulo2" } ) REPORT oRpt PREVIEW; HEADER "Header1", "Header2" ; FONT oFont01 CAPTION NRP oRpt:oTitle := TrLine():New( aTitulo, oRpt, 3 ) ....
by Daniel Garcia-Gil
Fri Feb 06, 2009 5:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA CON REPORT PREVIEW
Replies: 3
Views: 475

AYUDA CON REPORT PREVIEW

Saludos Antonio estoy tratando de hacer lo siguiente....: Esta es la manera normal de colocar los TITLE y los HEADER.... REPORT oRpt PREVIEW; TITLE "Titulo1", "Titulo2" HEADER "Header1", "Header2" ; FONT oFont01 CAPTION NRP FOR I=1 TO LEN(COL) T:=TIT[I] ...
by angstin
Fri Feb 06, 2009 4:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA CON REPORT PREVIEW
Replies: 3
Views: 475

... Karinha por contestar. Pero lo necesito para un REPORT. En Tprinter no tengo problemas. Pero con la clase REPORT se me ocurre ponerlo con un oRpt:SAY(....) pero no consigo que me tome el FONT declarado como vetical.
by Manuel Valdenebro
Tue Nov 18, 2008 6:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: VERTICAL FONT en Report
Replies: 12
Views: 2668

... Called from: C:\SISINGE\PRUEBASX\REPORT.PRG => MAIN(110) agregue esto nuevo...y ahora da el error anterior.... intente usar, oRpt:bStartRecord := {|| nVentas+= &(oDbf)->total } y nVentas siempre me da 0, nose si es que lo estoy usando en el lugar equivocado, lo hacia ...
by joseluisysturiz
Wed Oct 29, 2008 2:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: OTRAS PREGUNTAS DE REPORT - (RESUELTO)
Replies: 18
Views: 3634
PreviousNext

Return to advanced search