[FX.php List] Sub-summaries?

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Jan 24 07:12:58 MST 2007


I build a temp array that adds one layer( for sort field ) in between
slave and master level and then I can use
http://no2.php.net/manual/en/function.array-sum.php when making the
table for the final output.

ggt667

On 1/23/07, Jonathan Schwartz <jonathan at eschwartz.com> wrote:
> I was thinking.
>
> How would inline sub-summaries/breaks  be added to standard foreach
> () fx.php record listing...just like FMP does?
>
> I suppose that I could have a foreach, have a variable that watches
> the value of subsummary field. When the field changes, insert line
> break. I guess that I could also use another variable that would be
> accumulating a running subtotal which would be printed at the break.
>
> Is anyone doing this?
>
>
> Jonathan
> --
>
> Jonathan Schwartz
> FileMaker 8 Certified  Developer
> Associate Member, FileMaker Solutions Alliance
> Schwartz & Company
> jonathan at eschwartz.com
> http://www.eschwartz.com
> http://www.exit445.com
> 415-381-1852
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list