Search found 108 matches: orep

Return to advanced search

Re: Help for xbrowse report bSetUp

Silvio: En el metodo Report de Xbrowse, oRep:bSkip lo sobreescribe con esto: if Len( ::aSelected ) > If( ::lMultiSelect, 1, 0 )       Eval( ::bBookMark, ::aSelected[ 1 ] )      ...
by cmsoft
Sun Mar 19, 2023 3:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for xbrowse report bSetUp
Replies: 3
Views: 382

Help for xbrowse report bSetUp

I have to use a particular bsetup for my printouts when I compile it does not accept the line that I put in bold how can I fix it? bSetUp := < |oRep, Brw, n | bImage := {|oRep| oRep:SayBitmap(0.5, 7, cLogo)} bStart := {|oRep| oRep:bStartPage := bImage} bInit := {|| oBrw:oDbf:GoTop()} bSkip := ...
by Silvio.Falconi
Sat Mar 18, 2023 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for xbrowse report bSetUp
Replies: 3
Views: 382

xbrowse report setup

to make a report I use easy oBrw:Report("Stampa elenco", nil, nil, bSetup) where bSetup is bSetUp   := < |oRep, Brw, n |      if n == 2         oRep:CellView()         return nil      endif      return 2      > If I wish add fonts ? If I wish add aGroupby ? ...
by Silvio.Falconi
Thu Mar 02, 2023 11:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse report setup
Replies: 0
Views: 195

Re: xbrowse report & Preview style

... Antonio, I Tried with local bSetUp := {|oRep| oRep:CellView()} @ 100,10 BUTTON oBtnPrint PROMPT "Stampa" of oDlg; SIZE 80,22 ; ACTION oBrw:Report( cTitle, .t., , bSetUp ) but I see ...
by Silvio.Falconi
Fri Nov 18, 2022 1:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse report & Preview style
Replies: 5
Views: 461

Re: set Report Orientation

Very kind, as always. and wich is the command I not understood oBrw:Report( 'Stampa elenco ', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) I not want make report with ziziz zipizizi or another bullshit you did when you saw that I was doing something to print ...
by Massimo Linossi
Fri Jan 07, 2022 6:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1686

Re: set Report Orientation

and wich is the command I not understood oBrw:Report( 'Stampa elenco ', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) I not want make report with ziziz zipizizi or another bullshit you did when you saw that I was doing something to print I ask for ...
by Silvio.Falconi
Fri Jan 07, 2022 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1686

Re: set Report Orientation

... Best regards, Otto Otto, I use a xbrowse and call report class from it, no prn bSetUp := {|oRep, oBrw, n, llandscape| MyRepSetup( oRep, oBrw, n,llandscape )} oBrw:Report("Elenco Categorie",.T.,,bSetUp )
by Silvio.Falconi
Fri Jan 07, 2022 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1686

Re: set Report Orientation

... SIZE 120,26 of oDlgStampa ACTIVATE DIALOG oDlgStampa CENTER IF oDlgStampa:nresult == IDOK ?llandscape // here is .t. bSetUp := {|oRep, oBrw, n, llandscape| MyRepSetup( oRep, oBrw, n,llandscape )} oBrw:Report("Elenco Categorie",.T.,,bSetUp ) Endif function MyRepSetup( ...
by Silvio.Falconi
Tue Jan 04, 2022 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1686

Re: set Report Orientation

PERHAPS YOU NOT READ THE QUESTION.
I make

oBrw:Report( 'Stampa elenco ', , , ;
{ |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } )

I know how make the orientation if i must use the prg you wrote, but I call report() from oBrw directly
by Silvio.Falconi
Mon Jan 03, 2022 5:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1686

Re: Añadir Lineas en Blanco clase report

José: Podría forzar a que el reporte se vaya abajo y luego poner los finales de línea ACTIVATE REPORT oRep WHILE !oQry:EOF() ON INIT CursorArrow() ;         ON STARTPAGE oRep:SayBitmap(.1,.1,"LOGO.BMP",.5,.5);         ON END (oRep:nRow ...
by cmsoft
Sun Nov 28, 2021 1:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Añadir Lineas en Blanco clase report
Replies: 3
Views: 472

Re: Lineas Adicionales al Final de REPORT

... Me ahorraste mi proxima consulta. Quiero imprimir el logo de la empresa en el encabezado del reporte, ya vi esto que colocaste alli: ON STARTPAGE oRep:SayBitmap(.1,.1,"LOGO.BMP",.5,.5) ahora mi duda es: ¿se comporta igual en todas las impresoras sin importar su resolucion? y en caso ...
by JoseAlvarez
Sun Nov 28, 2021 12:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lineas Adicionales al Final de REPORT
Replies: 3
Views: 323

oBrw:Report setup SETPORTRAIT

the user can select lLandscape for the orientation of report oBrw:Report( 'Test', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) MySetUp( oRep, oBrw, lLandscape ) If lLandscape oRep:SetLanscape() Else oRep:SetPortrait() endif return nil How I can make to ...
by Silvio.Falconi
Tue Nov 16, 2021 1:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oBrw:Report setup SETPORTRAIT
Replies: 0
Views: 232

Re: Ordenar una tabla ascendente y descendentemente

... es la consulta en la función principal: cQuery := 'select * from reporte where mes_fantasma = ' + Str( nMes ) + ' order by fecha DESC' oQry := o : oRep : RowSet( cQuery ) En las funciones siguientes es donde quiero invertir el orden, de DESC a ASC oQry:Sort := "FECHA ASC"
by nageswaragunupudi
Mon Mar 22, 2021 1:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar una tabla ascendente y descendentemente
Replies: 11
Views: 1270

Re: Ordenar una tabla ascendente y descendentemente

Amigo:

cQuery := 'select * from reporte where mes_fantasma = ' + Str( nMes ) + ' order by fecha DESC'
oQry := o : oRep : RowSet( cQuery )

// Después de crear el record set (oQry)
oQry:SORT := "CAMPO1,CAMPO2,etc ASC" // o DESC
oQry:MoveFirst()

Saludos
by Armando
Sun Mar 21, 2021 10:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar una tabla ascendente y descendentemente
Replies: 11
Views: 1270

Re: Ordenar una tabla ascendente y descendentemente

Qué es el record set?

Esta es la consulta en la función principal:

cQuery := 'select * from reporte where mes_fantasma = ' + Str( nMes ) + ' order by fecha DESC'

oQry := o : oRep : RowSet( cQuery )


En las funciones siguientes es donde quiero invertir el orden, de DESC a ASC
by santidedos
Sun Mar 21, 2021 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar una tabla ascendente y descendentemente
Replies: 11
Views: 1270
PreviousNext

Return to advanced search