ConnorGiles
Strange Traveller
- Local time
- Today, 14:09
- Joined
- Aug 12, 2014
- Messages
- 1,068
Hi Guys so I am going to explain this in as much detail as possible. So pull up a chair.
My goal is that in my database we have products that have a date required, Some products have some leeway towards the date it is delivered.
However some products have no leeway and need to be at the site for a certain date only.
What I wish to accomplish is when a product on the urgent delivery table's delivery date comes to within a week of it needing to be delivered. An automatic email would be sent to me (to start with, other people can be added when it is finished) with a copy of the record.
I would like it to send in this format :
" MESSAGE FROM THE DATABASE! "
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
There may be more then one product so if there is for that day then it should cascade like so
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
This email will be sent twice - Once when the date required is a week away and once again when it is 3 days away.
Would there be any way of completing this - one thing I am worried about is the times the email will be sent and also the amount of times it is sent. because if one of these is wrong then the idea goes out of the window.
Does anyone have any ideas?
Thanks in advance :banghead:
My goal is that in my database we have products that have a date required, Some products have some leeway towards the date it is delivered.
However some products have no leeway and need to be at the site for a certain date only.
What I wish to accomplish is when a product on the urgent delivery table's delivery date comes to within a week of it needing to be delivered. An automatic email would be sent to me (to start with, other people can be added when it is finished) with a copy of the record.
I would like it to send in this format :
" MESSAGE FROM THE DATABASE! "
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
There may be more then one product so if there is for that day then it should cascade like so
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
" [Company Here] needs [Product Here] to be delivered by [Date Required] "
This email will be sent twice - Once when the date required is a week away and once again when it is 3 days away.
Would there be any way of completing this - one thing I am worried about is the times the email will be sent and also the amount of times it is sent. because if one of these is wrong then the idea goes out of the window.
Does anyone have any ideas?
Thanks in advance :banghead: