Add this function to the Page and call in from an Action:
LOCAL PROCEDURE BuildFilters@50000();
VAR
FilterBuilder@50000 : FilterPageBuilder;
BEGIN
FilterBuilder.ADDRECORD(TABLECAPTION,Rec); //Add current Rec to the FilterPageBuilder
FilterBuilder.SETVIEW(TABLECAPTION,GETVIEW); //Set current View on the FilterPageBuilder
IF FilterBuilder.RUNMODAL THEN //Run the FilterPageBuilder
SETVIEW(FilterBuilder.GETVIEW(TABLECAPTION)); //Return the View from the FilterPageBuilder
END;
Answers
https://msdn.microsoft.com/en-us/library/dn951487(v=nav.90).aspx
other versions (2009, 2013, 2015) would require creating new table, page and playing with it a lot