Skip 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.

Multiple Finds in a Script???

Featured Replies

Is therre a way to perform multiple finds in a script?

I have a file that contains 7 date fields per record. These fields show the date of each of the 7 events that occur for each record.

I need to report the count of each event on a monthly basis (how many of #1 this month...how many of #7 this month?)

I know I can do 7 combined finds manually, but I can't seem to figure how to script this.

Any help will be greatly appreciated

Use the New Record/Request step to create additional find requests.

  • Author

Ok, but how do I establish the finds in the first (and 2nd throu 7th) place?

I tried putting a field in that had the date range (pasted from a global field), but I just got back a message stating that no field criteria had been entered. If I could just get one step to work, I could figure how to get it to repeat 6 more times.

  • Author

I'm using 6.0

  • Author

Let me clarify - I want to do something like this:

Monthly Range is a global field containing the date range I want

There are 7 fields for dates (Date 1...Date7)

There are 7 fields for counters (Counter 1...Counter 7)

The script should do the following:

Find records where Date #1 is in the range of Monthly Range

Store the record count in Counter 1

Find records where Date #2 is in the range of Monthly Range

Store the record count in Counter 2

Find records where Date #3 is in the range of Monthly Range

Store the record count in Counter 3

Find records where Date #4 is in the range of Monthly Range

Store the record count in Counter 4

Find records where Date #5 is in the range of Monthly Range

Store the record count in Counter 5

Find records where Date #6 is in the range of Monthly Range

Store the record count in Counter 6

Find records where Date #7 is in the range of Monthly Range

Store the record count in Counter 7

Go to a layout that shows the counters

Enter Browse Mode

I thought this sounded familiar. Did you not see my response here?

  • Author

No I didn't, but I will check it out and get back to you.

The reason I am back at this point is that 2 hours after I figured out my solution for this I experienced my first ever hard disk failure, and (you know what's coming) my most recent backup was 2 weeks before. I have been busy rebuilding ever since (on my wife's Mac, while mine is in the shop.) This script was my last task, and was saved because it was so difficult for me in the first dumb place.

Thanks so much, :blush:

Hi John,

Please [color:red] DO NOT Double Posts. This is just one of the reason why we insist on this. There is NO joy in trying to follow the same thread posted in two places.

Lee

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.