Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

Hello, I hate to ask a question that has been answered. I always try to find the answer by searching but just havent been able to find one for this task I need to accomplish.

 

What I am trying to do is write a script that will search fields on a report layout in several fields then omit those records that have the found values.

 

Example:

 

I have two fields.

 

Department and Status

 

I have a report with my records sorted by Last Name.

 

I need the script to search for records that have the value 'Service' in the department field and omit all records with the value 'Service' from my report.

 

At the same time I also need that script to search the Status field and omit all records that have the value 'incomplete'

 

I may need it to also search the Status field to omit all records that have the value 'not attempted'

 

I have attempted to have the script do a search of a single field and then do an 'omit multiple' but is simply doesnt omit what I am wanting it to and I am just not sure the correct way to go about structuring the script.

 

Any ideas? I can do this manually by doing a find / omit then constrain found set but I can seem to script it correctly...

 

I found this which seems as though I can save a manual find and omit sequence but its not clear to me how the script it shows is referencing to a saved find or if this is even a good way to accomplish wha I am looking to do.

 

http://help.filemaker.com/app/answers/detail/a_id/4641

 

Thanks

Solved by Drusus

Go to solution

Try

 

Enter Find Mode

Set Field[department; "service"]

Omit Record

New Record/Request

Set Field[status; "incomplete"]

New Record/Request

Set Field[status; "not attempted"]

Omit Record

Perform Find

 

Make sure the "specify find requests" checkbox is not checked on either the enter find mode or perform find steps

  • Author
  • Newbies
  • Solution

Thanks for the reply...

 

this eliminated ALL records with 'Not Attempted' in the Status from every category from the report which is good...

 

It also removed all the reports that showed 'Completed' for 'Service' which is good...So it is trying to remove all Service

 

However... it left all the 'Incompletes' from ALL categories including the 'Service' 'Incompletes'...

 

While it needs to remove ALL records where department is 'Service'...ALL Not Attempted accross the board...and ALL Incompletes across the board for Status.

 

I think I got it though. I just inserted another 'Omit Record' and it seems to be omitting everything I needed to omit...

 

Enter Find Mode

Set Field[department; "service"]

Omit Record

New Record/Request

Set Field[status; "incomplete"]

Omit Record

New Record/Request

Set Field[status; "not attempted"]

Omit Record

Perform Find

 

My problem before was I wasn't setting the feild incorrectly and trying to use omit multiple records.

 

thanks for the help.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.