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.

Sending reminders

Featured Replies

Hey Im new to this filemaker game, I ve got a DB setup now I require my DB to send automatic emails when the 'deadline date' = the current date.

Any help very much appreciated

Hi Dec

it all depends on what other criteria you mean to apply to your decision.

For instance do you want to send an email for all the records that meet the date deadline or some of them. And if some of them....which ones?

Really need that info before we can best advise you

Phil

  • Author

Hey Phil

Cheers for the reply

I want to send an email for all records that meet the date deadline.

OK then

You will need to be on a layout that displays the field due date from the file that you want to get your records from. You will also need a script along these lines

Show all records

enter find mode

set field duedate;Get(CurrentDate)

Perform find

Go to record first

Loop

Send email

Go to record next;exit after last

end loop

Show all records

That is a very basic structure for a script that will find all the records where due date = the current system date of your computer and then starting from the top will go from one record to the next until it gets to the end of the found set. At each record it will send an email (which you obviously have to specify details for) and once it has gone through the lot it clears the found set.

This script, once developed can be attached to a button for manual triggering or you could include it as part of your startup script that can be nominated to run each time you open a file (under file options).

Either way you might want to think about marking records as 'email sent' so that in the case of the button being pressed twice a day or the file being opened more than once a day the same customers do not get more thatn one email

Hope that gives you some food for thought

Regards

Phil

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.