Hi,
I'm wondering the best way to go about this. I have a situation where a user will click a button once a week and this will query all records that are due to be invoiced (these will be monthly invoices but the button would be clicked once a week as not all fall on the same date).
I then need the ability to query the database for people that are overdue and this will produce a bunch of reports to be sent as letter reminders.
I was thinking to use Datediff and see if the the last invoice date was a month previous, however that wouldn't work and some would slip though.
What's the best way to acheive this?
Thanks in advance.
I'm wondering the best way to go about this. I have a situation where a user will click a button once a week and this will query all records that are due to be invoiced (these will be monthly invoices but the button would be clicked once a week as not all fall on the same date).
I then need the ability to query the database for people that are overdue and this will produce a bunch of reports to be sent as letter reminders.
I was thinking to use Datediff and see if the the last invoice date was a month previous, however that wouldn't work and some would slip though.
What's the best way to acheive this?
Thanks in advance.