Hi all,

I created a report contaning ProdTable and InventDim cascaded. The report was 
fine, but then I had to override fetch method. The result set is true but the 
data coming from InvenDim is always appearing one line below than it should be. 
First inventDim is always blank.

Example :

ProdTable      InventDim

1                        blank
2                        1
3                        2

Any help or advice how to recover appreciated.

Syner

Overriden method :
public boolean fetch()
{
    QueryRun    qr;
    ProdTable   prodTable;
    InventDim   inventDim;
    boolean ret;
    ;
    //ret = super();
    qr=new QueryRun(element);

    if (qr.prompt() && element.prompt())
        {

        while (qr.next())
            {
             prodTable= qr.get(tableNum(ProdTable));
             inventDim= qr.get(tableNum(InventDim));

             if(!prodTable)
                {
                 ret=false;
                 break;
                }
             if(qr.changed(tableNum(ProdTable)))
                {
                element.send(prodTable,1);
                }
             if(qr.changed(tableNum(InventDim)))
                {
                element.send(inventDim,2);
                }
            }
        }

    return ret;
}



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

Reply via email to