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.

Help with finds in FM 8 [Beta-8 Advanced]

Featured Replies

Description: I am a new user of Filemaker. Have been a Lotus Approach user since

version 1. I need help with finds and scripts for automated finds.

First, is there a way to do a straight out find for multiple records

in the same field? A basic OR search. I have a field named "Jobs."

It is a number field. I want to search my contacts for all those

people I have talked to about these jobs. In Approach I would click

on the "Jobs" field and type 190,192, 198, 202. It would return all

contacts with any of those ID's. How is this accomplished in FM? I

cannot find any discussion of "OR" searches.

Second, I have tried to make a script to search a "Follow_UP_DATE"

field where it would automatically search my contacts for those who

were to be followed within the last 30 days. All attempts have

failed. Can anyone help with a simple script or explanation.

Thanks in advance for your assistance.

Edited by Guest
removed forum info

In FileMaker an "Or" search multiple "Requests". When you are in Find mode, each "New Record/Request" creates a new request. So your search above would be 4 requests, with an ID in each.

We can't say exactly why your Date search is failing. FileMaker 7/8 is pretty forgiving about date entry, so it's likely there's some kind of logical or syntax problem with the Find. In FileMaker 7 you can use the following (minimum steps only)B)

Enter Find Mode [no restore]

Set Field [ Date field; ">=" & Get(CurrentDate) - 30 & "<" & Get(CurrentDate)]

Perform Find [no restore]

It could be that you've got "Restore" checked on one of your steps, which means it'll run whatever it stored from when it was created.

(P.S. Hopefully you've already followed up with those >30 days, 'cause they're ignored by the Find.)

And you have Advanced. Run it through Debugger. It's amazing how the logic comes clear when you can easily see it in action. You can script date range also by using something like:

Set Field [ Date field; Get(CurrentDate) - 30 & "..." & Get(CurrentDate)]

:wink2:

LaRetta

  • Author

Thanks to both of you for the quick reply. The script is working fine and I am now finding my follow ups. I guess I can develop individual scripts for just today,10 days and 20 days. I'm sure that could be set up in a case statement and have a reference field for what period of time I want to search. Anyway, thanks again.

As a follow-up to my other question are you saying there is no efficient way to do an "OR" search? Any ideas on how to solve that problem?

Thanks.

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.