Passing filters from first page to second page ? How?

Dear all,

in the item table I have like 40,0000 rows. So I thought it would be better if I create a filter page ( new page) which opens first.

So this means first the user will see the filter page and he have to fill the filters first!

Now I want to set those filters on the item list page before I open it from code.

How can I do this?? Passing filters from one page into another ( from the code)?

Thanks

Solution:

1- I created a new blank page and added to it four new variables (Filters)

2- On closed page I added the following code:

ItemTable.SETFILTER(No, MyFilter1);

ItemTable.SETFILTER(No, MyFilter2);

ItemTable.SETFILTER(No, MyFilter3);

ItemTable.SETFILTER(No, MyFilter4);

// Now oppning the page

ItemListPage.SETTABLEVIEW(ItemTable);

ItemListPage.RUNMODAL;