FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Operation on Xbrowse Footer
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Operation on Xbrowse Footer
Posted: Fri Oct 10, 2014 09:05 AM

I must make the sum total of a column

but the data is an array

AADD(aGiorni,{ str(n)+" "+Left(cDow(PGiorno), 2),;
space(5),space(5),space(5),;
space(5),space(5),space(5),;
space(5),space(5),space(5),;
space(5),space(5),space(5),;
space(10),space(5),space(5)} )

I must sum the 16 column with oApp():oGrid:aCols[16 ]:bfooter :=

the text is on Hour and minutes sample "00:56:00" 00 hour 56 minutes 00 seconds

I make the sum with timefunction but I not Know how insert it on bfooter

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Operation on Xbrowse Footer
Posted: Fri Oct 10, 2014 09:52 AM

oCol:bFooter := { || YourTotalFunction() }
where "YourTotalFunction()" returns the value of the total

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion