B
Brandon
Thanks to some help in this NG, I have the following statement almost
complete for our needs. The results of this query should show all of the
fields that have an "EndingDate" of the next month. This statement works
ok, except in December because the next month also is a new year which is
greater than the current date (in Dec.). So any ideas how to tweak this to
make it work in Dec. also?
SELECT *
FROM Table
WHERE EndingDate>=DateSerial(Year(Date()),Month(Date())+1,1) And
EndingDate<DateSerial(Year(Date()),Month(Date()) + 2,1);
--
Brandon
==================
Presentations Direct - http://www.presentationsdirect.com
==================
complete for our needs. The results of this query should show all of the
fields that have an "EndingDate" of the next month. This statement works
ok, except in December because the next month also is a new year which is
greater than the current date (in Dec.). So any ideas how to tweak this to
make it work in Dec. also?
SELECT *
FROM Table
WHERE EndingDate>=DateSerial(Year(Date()),Month(Date())+1,1) And
EndingDate<DateSerial(Year(Date()),Month(Date()) + 2,1);
--
Brandon
==================
Presentations Direct - http://www.presentationsdirect.com
http://www.presentationsdirect.com/paper-shredders/gbc-paper-shredders.asp
==================