May 31, 2005 #1 dk99 MIS Jun 20, 2003 76 GB Is there a way I can get a query to pull out information for the previous month. ie. if I run the query on the 1st June I need it to pull out information for 1st - 31st May. I cant use <Now()-30 because some months have 31 days so any ideas will be appreciated.
Is there a way I can get a query to pull out information for the previous month. ie. if I run the query on the 1st June I need it to pull out information for 1st - 31st May. I cant use <Now()-30 because some months have 31 days so any ideas will be appreciated.
May 31, 2005 1 #2 lupins46 MIS Feb 19, 2004 2,509 GB In the criteria cell use: >= Dateserial(year(now),month(now)-1,1) and < Dateserial(year(now),month(now),1) Upvote 0 Downvote
In the criteria cell use: >= Dateserial(year(now),month(now)-1,1) and < Dateserial(year(now),month(now),1)