Applying a filter to a view

poverocanepoverocane Member Posts: 32
edited 2010-03-12 in Dynamics AX
Hi all and thanks in advance for your answers.
My question is quite simple:

how can i apply a filter to a form that is based on a view?

Thanks a lot.

Fantasy is more important than knowledge.
A. Einstein


  • MikerMiker Member Posts: 105
    If you want to apply simple filter on a form, just look in Address from
    void creatFindRanges()
        QueryBuildDataSource    queryBuildDataSource;
        queryBuildDataSource =  address_ds.query().dataSourceTable(tablenum(Address));
        adrTableid = SysQuery::findOrCreateRange(queryBuildDataSource, fieldnum(Address, AddrTableId));
        adrRecid   = SysQuery::findOrCreateRange(queryBuildDataSource, fieldnum(Address, AddrRecId));
    going to Europe
Sign In or Register to comment.