Get view back

Hi,

I created a button that allows users to search and filter a view by whatever they type in a inputbox. Now I’m looking at creating another button that will basically bring the view back to the way it was before the filter. Anyone done this before or able to help me out a little?

Thanks

Subject: Get view back

That depends on how you’re filtering. Are you using the new R6 methods to programmatically change the view’s selection formula? If so, just create another button with the exact same code, only set the formula to the view’s default selection formula (the formula actually set in the view’s Selection Formula pane.)