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

See here:

post-80889-0-41536300-1343830865_thumb.p

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

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