Popular Posts

Showing posts with label filtering. Show all posts
Showing posts with label filtering. Show all posts

Thursday, 14 July 2011

to filtering form by the enum values(which is n't shown in form)

suppose they are 3 field in enum one value is shown in form and another form is used in another form .we put the filter in datasource-->init method write the following code.
this.query().dataSourceTable(tablenum(inventtable)).addRange(fieldnum(inventtable,lltype)).value(enum2str(lltype::Both));