You can actually streamline your code by removing the "datecut" line as it is not being executed for your statements.
There is actually another way to accomplish this on the mySQL side. It's a bit more complicated, but the end result would be that the entry is removed immediately after it is written. I'll have to write out a procedure and post it.




Reply With Quote
Bookmarks