Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

Why standard filter is not working in Report AX 2009 ?

$
0
0

I added one  field, itemid in Report ->data sources->Range->

So when i am selecting any itemid in lookup in dialog field my report is not getting filtered ?

 I can't go adding range in fetch() for itemid as i may select multiple fields by select button in dialog box..and this is standard.

I can't understand why this itemid is not working ?

Any way in fetch() the code is as follows:

{

 queryRun = new QueryRun(this);

  if (!queryRun.prompt())

    {

       return false;

    }

    while (queryRun.next())

    {

        reportTable= queryRun.get(tablenum(ReportTable)); 

        while select  reportTableorder by reportTable.Date

                   where reportTable.Date >= fromDate && reportTable.Date <= toDate

        {

            if(! element.send(reportTable))

           {

                return true;

            }

        }

    }

return true;

}


Viewing all articles
Browse latest Browse all 9880

Trending Articles