Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

Problem with filter functionality

$
0
0

Hi all,
i have a problem with the filter functionality in AX (4.0). I wrote the following code:

Query                   qry;
QueryBuildDataSource    qbds;
QueryBuildRange         qbr;
;super(); 
qry = MyTable_ds.queryRun().query();
qbds = SysQuery::findOrCreateDataSource(qry,tableNum(MyTable));
qbr = qbds.addRange(fieldnum(MyTable, My_Field));
qbr.value('!0')

wich is executed if a specific CheckBox is set. It works as excepted.

But if i enter a new filter value into My_Field, the "!0" filter criteria is copied to another (NOT A SPECIFIC!) column. And this only happens, if there are columns before My_field, which are currently out of scope (not in the visible range).

Is this a bug or am i missing somesthing?

Thanks in advance,
Frank


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>