I test xBrowse with Total , I'd like to know why this works
- Code: Select all Expand view
- @ 10,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg ;
ALIAS "CUST" ;
COLUMNS "First" ;
CELL LINES FOOTERS NOBORDER
ADD COLUMN TO oBrw DATA FieldWBlock("Age",Select(caLMov)) ;
HEADER "Age" ALIGN RIGHT
WITH OBJECT oBrw
:nStretchCol := 1
:Age:nFooterType := AGGR_SUM
:MakeTotals()
:CreateFromCode() // omit for resource
END
And this doesn't works (without COLUMNS "First" )
- Code: Select all Expand view
- @ 10,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg ;
ALIAS "CUST" ;
CELL LINES FOOTERS NOBORDER
ADD COLUMN TO oBrw DATA FieldWBlock("Age",Select(caLMov)) ;
HEADER "Age" ALIGN RIGHT
WITH OBJECT oBrw
:nStretchCol := 1
:Age:nFooterType := AGGR_SUM
:MakeTotals()
:CreateFromCode() // omit for resource
END
Thanks in anticipation
Maurizio
www.nipeservice.com