FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Footer value
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Footer value
Posted: Sun Jun 18, 2023 09:41 AM
Hi,

The xBrowse column assumes a footer
Code (fw): Select all Collapse
:aCols[1]:FooterType:=AGGR_SUM
For the footer specified PICTURE
Code (fw): Select all Collapse
:aCols[1]:FooterPicture:="9999"
However, the footer shows a fractional number - 9999.0
Why ?
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Footer value
Posted: Sun Jun 18, 2023 01:20 PM
However, the footer shows a fractional number - 9999.0
Should not.
How can we reproduce the problem at our end?
Regards



G. N. Rao.

Hyderabad, India
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: Footer value
Posted: Sun Jun 18, 2023 05:34 PM
Friends:

Pls try
Code (fw): Select all Collapse
:aCols[1]:cFooterPicture:="9999"
Instead
Code (fw): Select all Collapse
:aCols[1]:FooterPicture:="9999"
Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Footer value
Posted: Sun Jun 18, 2023 05:59 PM

I didn't find the reason why a fractional number is shown instead of an integer. I just rewrote the MakeTotals method for myself. Everything works. Thanks

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Footer value
Posted: Sun Jun 18, 2023 06:03 PM
Natter wrote:I didn't find the reason why a fractional number is shown instead of an integer. I just rewrote the MakeTotals method for myself. Everything works. Thanks
I am surprised.
No reason.
It should work without any change in MakeTotals().
Regards



G. N. Rao.

Hyderabad, India
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Footer value
Posted: Sun Jun 18, 2023 06:14 PM
In the MakeTotals() method there is such a string (1024)
Code (fw): Select all Collapse
:nTotal:=:nTotalSq:=0.0
I changed it like this
Code (fw): Select all Collapse
:nTotal:=:nTotalSq:=iif(:nDataDec=0, 0, 0.0 )

Continue the discussion