# Remove svySearch from foundset

**URL:** <https://forum.servoy.com/t/remove-svysearch-from-foundset/20681>\
**Category:** Questions\
**Created:** [February 4, 2022, 3:31am UTC](https://forum.servoy.com/t/remove-svysearch-from-foundset/20681 "2022-02-04T03:31:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [February 4, 2022, 3:31am UTC](https://forum.servoy.com/t/remove-svysearch-from-foundset/20681/1 "2022-02-04T03:31:57Z")

</div>

When using svySearch.createSimpleSearch(); how does one remove the search criteria from the foundet. Once I have applied the search to the foundset; I can loadAllRecord() and it does so but as soon as I use loadRecords() the search is back.

I’ve also tried foundset.clear() but this does not remove the search criteria either. The only way I have found is to set the search criteria to “”, which does not seem ideal.

Thanks,
