“Universal Search” is 100% reusable, modular search code. It can be used to run any number of search requests (“FileMaker” style or SQL), in any context (layout), using dynamically specified (not stored) search fields and search terms. “Universal Search” works on any FileMaker file you paste it into. It works locally as well as a Remote Procedure Call (“Perform Script On Server”, on FileMaker Server 13 and up). It can execute your SQL queries or your traditional FileMaker search requests. It works on iOS and on the Desktop. It just works.
Click on this link to download source code with demo tutorial.