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

Hi

I have been asked to set up something that will send out email automaticly when the date in the "review date" field is 14 days prior to the current date, can someone help me with a script that would be able to perfom this task? I have also created and email field that will hold the email address.

thank you

Kassy

Something like:

Enter Find Mode
Set Field[ review date ; Get(CurrentDate) - 14 ]
Set Error Capture [ON]
Perform Find
If[ Get(FoundCount) > 0 ]
  Send Mail
End If

 

  • Author

Hi Fitch

Thank you for the response, unfortunaly I can't seem to get this to work I am not great at this!!

 

Kassy

Hi Kassy,

What didn't work? Please explain what it is or not doing.

Why not post a copy of your file so we can see your schema?

Lee

Yeah Kassy, we're willing to help but we're not mind-readers. Don't give up. Tell us what's happening.

On 9/13/2017 at 2:01 PM, KassK said:

send out email automaticly when the date in the "review date" field is 14 days prior to the current date

There is no way you can tell Filemaker to watch a date field and run a script when it passes some threshold. The best that you can do is run a script every day on startup, find the records that have passed the threshold and send the notification/s.

You will also want to mark these records and exclude marked records from the find. That way you won't skip a bunch of records when the script did not run for some reason (e.g. on a holiday) nor send a notification twice if you restart.

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.