Norbert wrote:
>execute block
>returns  (reference varchar(10), due double precision, balance double
>precision)
>as
>begin
>balance = 0;
>for select
>reference,due
>from invoices  into :reference, :due
>do begin
>balance = balance+due;
>suspend;
>end
>end

Thank you Norbert, that does look like the simplest solution till FB 3 is 
available.
  • [fire... Maya Opperman m...@omniaccounts.co.za [firebird-support]
    • ... Svein Erling Tysvær setys...@gmail.com [firebird-support]
    • ... Norbert Saint Georges n...@tetrasys.eu [firebird-support]
      • ... Maya Opperman m...@omniaccounts.co.za [firebird-support]
      • ... Alan J Davies alan.dav...@aldis-systems.co.uk [firebird-support]
        • ... Steve Wiser st...@specializedbusinesssoftware.com [firebird-support]
        • ... 'Arno Brinkman' fbsupp...@abvisie.nl [firebird-support]
          • ... 'Arno Brinkman' fbsupp...@abvisie.nl [firebird-support]
        • ... Louis van Alphen lo...@nucleo.co.za [firebird-support]
    • ... 'Mark Rotteveel' m...@lawinegevaar.nl [firebird-support]
    • ... Maya Opperman m...@omniaccounts.co.za [firebird-support]

Reply via email to