I have a table who's population are a number of memberships with a "Start_Date" and "End_Date".
I would like to run a trigger that renews the memberships "End_Date " with todays date using a timestamp when the membership field "renew" is set and updated to "YES".
Following this an automated email is triggered to email the members "Email_Address" when the renew is set to "Yes" with the new "End_Date".
I have tried doing this with a trigger in the same table but have a level 2 error and understand that update can be triggered in the same table.
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.
Question
Scott
I have a table who's population are a number of memberships with a "Start_Date" and "End_Date".
I would like to run a trigger that renews the memberships "End_Date " with todays date using a timestamp when the membership field "renew" is set and updated to "YES".
Following this an automated email is triggered to email the members "Email_Address" when the renew is set to "Yes" with the new "End_Date".
I have tried doing this with a trigger in the same table but have a level 2 error and understand that update can be triggered in the same table.
Does anyone have a work around for this.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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.