Jump to content
Fivewin Brasil

xbrowse 2 footer( rodapé )


waway

Recommended Posts

 

Ele quer assim Dorneles, é possível?

 

6lwoh3N.png

 

abs.

João

Bastaria ele mexer na altura da linha do footer e colocar o segundo valor na parte de baixo
  oBrowProd::nFooterLines             := 2
  oBrowProd::nFooterHeight            := 36

  oBrowProd:aCols[ 2 ]:bFooter       := { || ( " VALOR TOTAL + CRLF +  TOTAL GERAL " ) }
 

 

Link to comment
Share on other sites

o problema que na primeira linha do footer eu totalizo as colunhas;

 oLbxDia:nStretchCol :=1
   oLbxDia:aCols[1]:cEditPicture:="@!" // + CRTLF + "XXXX"
   oLbxDia:aCols[4]:cEditPicture:= "@e 999,999.99" //+ CRLF + "."
   oLbxDia:aCols[4]:nFooterType:= AGGR_SUM
   oLbxDia:aCols[5]:cEditPicture:= "@e 999,999.99" // + CRTLF + TRANSF(way,"@ze 999.99")
   oLbxDia:aCols[5]:nFooterType:= AGGR_SUM
   oLbxDia:aCols[6]:cEditPicture:= "@e 999,999.99"
   oLbxDia:aCols[6]:nFooterType:= AGGR_SUM
   oLbxDia:aCols[7]:cEditPicture:= "@e 999,999.99"
   oLbxDia:aCols[7]:nFooterType:= AGGR_SUM
   oLbxDia:SetGroupTotal( { 'Dias','HE 50%','HE 100%', 'HE 20%' }, 'Sub-' + CRLF + 'Total', AGGR_SUM )
   oLbxDia:aCols[8]:cEditPicture:= "@e 999,999.99"
   oLbxDia:aCols[8]:nFooterType:= AGGR_SUM
   oLbxDia:MakeTotals()

 

Link to comment
Share on other sites

Pessoal, consegui fazer segue a linhas;

   //--------------------------------------------------------------------------------------------------------------------------------
   oLbxDia:aCols[4]:cEditPicture:= "@e 999,999.99"
   oLbxDia:aCols[4]:nFooterType:= AGGR_SUM
   oLbxDia:aCols[4]:nTotal      := .t.
   oLbxDia:aCols[4]:bFooter     := { |o| o:nTotal + 0 }
   oLbxDia:aCols[4]:bFooter     := { || TRANSFORM( oLbxDia:aCols[4]:nTotal,"9,999,999,999.99")+ CRLF+ TRANSFORM( nTotqtddia,"999,999.99") }
 

Agradeço atenção de todos que tentaram me ajudar, as dicas foram importante.

xbrowse_footer.png

Link to comment
Share on other sites

 

Pessoal, consegui fazer segue a linhas;

   //--------------------------------------------------------------------------------------------------------------------------------
   oLbxDia:aCols[4]:cEditPicture:= "@e 999,999.99"
   oLbxDia:aCols[4]:nFooterType:= AGGR_SUM
   oLbxDia:aCols[4]:nTotal      := .t.
   oLbxDia:aCols[4]:bFooter     := { |o| o:nTotal + 0 }
   oLbxDia:aCols[4]:bFooter     := { || TRANSFORM( oLbxDia:aCols[4]:nTotal,"9,999,999,999.99")+ CRLF+ TRANSFORM( nTotqtddia,"999,999.99") }
 

Agradeço atenção de todos que tentaram me ajudar, as dicas foram importante.

xbrowse_footer.png

Foi isso que eu disse aqui BrowProd:aCols[ 2 ]:bFooter       := { || ( " VALOR TOTAL + CRLF +  TOTAL GERAL " ) }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...