Jump to content
Sign in to follow this  
richardbabley

Script to send email before a particular date

Recommended Posts

Hello,

I'm trying to set up a training database which will send an email reminder to users 90 days before their training expires, but I'm having trouble writing a script!

I would like the email to send to Personnel Records::Email and for it to be sent 90 days before Training::Expires.

Could someone give me a hand?

Thank you!

Personnel (local).fmp12.zip

Share this post


Link to post
Share on other sites

I'm trying to set up a training database which will send an email reminder to users 90 days before their training expires, but I'm having trouble writing a script!

I would like the email to send to Personnel Records::Email and for it to be sent 90 days before Training::Expires.

Try this one. You might want to add a flag field like “Reminder sent” to the Training table and set it in the script.

Personnel (local)_withMailScript.fmp12.zip

Share this post


Link to post
Share on other sites

Thank you so much!

Could you please tell me where you entered the script?

It's called in the OnOpenFirstWindow script.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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