Filter_Opening a Form

Hi Friends,

I have a Small Requirement.Please help me out in doing so.

I have a Form with two fields Sno and **Grade.**Here Grade is of type ENUM With Elements as Pass,Fail.When we Open a Form it should show only Sno whose **Grade is Fail.**And i have a Button and when we click on that , it should show all Sno and Grades i.e with out any filtering.

Thank you

HI chinna,

Check the following link,

http://dynamicsuser.net/members/kollinaresh.k/files/default.aspx

there isXPO for it inisde the word document…

Naresh Kolli

Add a range to the form data source in the init() method of the form and add a value to the range…

In the clicked event of the button clear the ranges…

Table_ds.query().dataSourceNo(1).clearRanges();
Table_ds.executeQuery();