Search functionality

Hi guys,

I am working on department screen.and I want to develop search functionality for search using code,name,descp and active/inactive /both records using radio button .So what filter should I use and what condition,values should I assign  for radio buttons option.I have attached an .oml

Please attached sample .oml if possible. 

Department.oml

Hello Rohan Roy,

I attached an oml with the solution.

Hope it helps! 

Paulo Rosário 

Department_Solution.oml

Hi Paulo,

I guess a bit of change is required for the first filter condition in the Aggregate to make it work for Both RadioGrpBtn option 

Department.Isactive = If( Boolean = 1 , True, If(Boolean = 2 , false, Department.Isactive))


Regards,

Hello Ninja,

Yes, your filter would also work :) 

Regards, 

Paulo Rosário

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.