AC5FF
Registered User.
- Local time
- Today, 09:29
- Joined
- Apr 6, 2004
- Messages
- 552
I have a table of overdue notices that is updated daily and a report is run based on today's entries into that table. Everything works fantastic, but I want to make this process better - and eliminate a little work for both myself and my customers.
Basically, the entries are all automatic from another process outside of my database. All that is entered is EntryDate, Acct#, Amount. The problem arises that if I get a report today on account #803, and the same account appears on tomorrows report, then an email is sent to the account holder twice. Three/Four/Five times in a row if that account continues to be a problem.
I need to keep all my entries into this table; so for my example I would want to continue to enter account #803's information every day, but if a particular account is on today's run, I want my query to ignore it if there have been any previous entries for the past 5 days.
I hope that makes sense; I have it straight in my head what I want to do, but putting it into words just seems confusing right now. Let me know if you have questions and I'll do the best I can to answer them.
I am thinking I will need at least one extra query, maybe two; but it would sure be nice to do this with some type of function based on the date/account number... I just have not been able to come up with a good game plan to even start and try to get this to work....
Basically, the entries are all automatic from another process outside of my database. All that is entered is EntryDate, Acct#, Amount. The problem arises that if I get a report today on account #803, and the same account appears on tomorrows report, then an email is sent to the account holder twice. Three/Four/Five times in a row if that account continues to be a problem.
I need to keep all my entries into this table; so for my example I would want to continue to enter account #803's information every day, but if a particular account is on today's run, I want my query to ignore it if there have been any previous entries for the past 5 days.
I hope that makes sense; I have it straight in my head what I want to do, but putting it into words just seems confusing right now. Let me know if you have questions and I'll do the best I can to answer them.
I am thinking I will need at least one extra query, maybe two; but it would sure be nice to do this with some type of function based on the date/account number... I just have not been able to come up with a good game plan to even start and try to get this to work....