|Subject||RE: [firebird-support] Re: How to do a running total in SQL|
>execute blockThank you Norbert, that does look like the simplest solution till FB 3 is available.
>returns (reference varchar(10), due double precision, balance double
>balance = 0;
>from invoices into :reference, :due
>balance = balance+due;