I've try simulate the error by using below code, it still show invalid
field error. Any idea?

Note : Pls ignore the reason why I'm doing this. It's just a simulation.

public boolean fetch()
{
    boolean ret;

    While Select Sum(ExchRate),  CurrencyCode, FromDate, ToDate
    from ER
    group by CurrencyCode, FromDate, ToDate
    {
        element.send(ER);
    }
    element.printSum();

    While Select Sum(ExchRate), CurrencyCode
    from ER
    group by CurrencyCode
    {
        element.send(ER);
    }


    ret = true;

    return ret;
}

--- In [email protected], "mbsaxapta"
<[EMAIL PROTECTED]> wrote:
> Hi ,
> try to use this, it MUST works
>
> while select SUM(f3),f1,f2
>         FROM xtable GROUP BY f1,f2
> {
> }
>
> tomas
>







YAHOO! GROUPS LINKS




Reply via email to