I can't have footers drawn on a browse where i need to total just the last column (6)
I am surely missing something,
Thanks for the help
- Code: Select all Expand view
@ 155,5 XBROWSE oBrw OF ownd ;
SIZE ownd:nwidth - 10,ownd:nHeight - 270 PIXEL ;
FIELDS DET->PID,DET01(OBRW),DET->LUNITE,DET->NUNITES,DET->PUHT,DET->VALHT ;
PICTURES nil, nil ,nil, "@Z 999 999.999", "@Z 999 999 999 999.99","@Z 999 999 999 999.99" ;
HEADERS "Code", "Désignation"," ","Quantité","Px Unitaire","Px Total";
FIELDSIZES 80,400,50,100,100,100 ;
FONT AFONT ;
FOOTERS ;
ALIAS "DET"
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:lColDividerComplete := .t.
oBrw:nColDividerStyle := LINESTYLE_LIGHTGRAY
oBrw:nRowDividerStyle := LINESTYLE_LIGHTGRAY
//oBrw:nStretchCol := STRETCHCOL_LAST
obrw:obrush := obrush1
OBRW:bClrStd := {|| { CLR_BLUE, CLR_WHITE } }
oBrw:aCols[6]:lTotal := .t.
oBrw:MakeTotals()
oBrw:CreateFromCODE()
OBRW:SETFOCUS()