Im trying to return results for a month from before the current date and indefinately into the future, but under operational circumstances, I should have no records in the future. For troubleshooting purposes, i do.
SELECT * FROM articles WHERE ((([ID] Mod 2)=True)) AND articledate > (date() - 30)
This is what I assumed, but I get strange results. I have records (in the DB) in the future and records in the past (within the 30 day range) however, only records within the current month are showing. Records within the 30 day range, but in the previous month are not showing.
Maybe (- 30) doesn't work against a date data type, but that's why I am asking.
Thanks for any help...
SELECT * FROM articles WHERE ((([ID] Mod 2)=True)) AND articledate > (date() - 30)
This is what I assumed, but I get strange results. I have records (in the DB) in the future and records in the past (within the 30 day range) however, only records within the current month are showing. Records within the 30 day range, but in the previous month are not showing.
Maybe (- 30) doesn't work against a date data type, but that's why I am asking.
Thanks for any help...