# Omit by Content or Selection Script

**URL:** <https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695>\
**Category:** Questions\
**Created:** [January 12, 2022, 3:59pm UTC](https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695 "2022-01-12T15:59:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonywhitelive](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/tonywhitelive/32/208_2.png) [@tonywhitelive](https://the.fmsoup.org/u/tonywhitelive)\
**Post date:** [January 12, 2022, 3:59pm UTC](https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695/1 "2022-01-12T15:59:22Z")

</div>

"Omit by Content or Selection" Script, run from a button...

Others might (or might not) find this Script useful.  
Ways to make it better? Escaping find characters? Other?

Below as image. Tried (and failed) to paste as fmXML.  
Use only at your own risk.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/5/520c843ef2c36980579a2ae44334314c9001f5a6.png)

---

<div class="post-metadata">

**Author:** ![mrwatson-de](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/mrwatson-de/32/351_2.png) [@mrwatson-de](https://the.fmsoup.org/u/mrwatson-de)\
**Post date:** [January 14, 2022, 5:49pm UTC](https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695/2 "2022-01-14T17:49:12Z")

</div>

Thanks Tony again!

You might all like to try out this nifty little mockup of this script!

Functionality to build incremental found sets....

> **[GitHub - mrwatson-de/fmIncrementalFoundSetMockup](https://github.com/mrwatson-de/fmIncrementalFoundSetMockup)**
>
> Contribute to mrwatson-de/fmIncrementalFoundSetMockup development by creating an account on GitHub.

Let's make FileMaker great!

MrWatson

---

<div class="post-metadata">

**Author:** ![tonywhitelive](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/tonywhitelive/32/208_2.png) [@tonywhitelive](https://the.fmsoup.org/u/tonywhitelive)\
**Post date:** [January 15, 2022, 4:07pm UTC](https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695/3 "2022-01-15T16:07:51Z")

</div>

Impressive code. Well worth studying and learning from.

On the core topic of creating a Found Set, some things can be done with a single click...

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/6/6ed3254b825316eb4898009338c63d7456d47b9b.png)

---

<div class="post-metadata">

**Author:** ![mrwatson-de](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/mrwatson-de/32/351_2.png) [@mrwatson-de](https://the.fmsoup.org/u/mrwatson-de)\
**Post date:** [January 15, 2022, 6:12pm UTC](https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695/4 "2022-01-15T18:12:41Z")

</div>

Thank you!

One click constrain - That is exactly the functionality that I should like to see native in the FileMaker Toolbar!

---

<div class="post-metadata">

**Author:** ![tonywhitelive](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/tonywhitelive/32/208_2.png) [@tonywhitelive](https://the.fmsoup.org/u/tonywhitelive)\
**Post date:** [January 15, 2022, 6:48pm UTC](https://the.fmsoup.org/t/omit-by-content-or-selection-script/2695/5 "2022-01-15T18:48:13Z")

</div>

Pluses: Field specific and does not require the field to be open to Browse Mode  
Minus: Takes some effort to set up (code generation helps).

![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/5/5335d428ce46ea6e1ac1c373b670268aa0cb5acc.png)
