Jun 11, 2001 #1 ISS Technical User Jun 11, 2001 3 US What's the proper query syntax that will retrieve for me all records created since the beginning of last month?
What's the proper query syntax that will retrieve for me all records created since the beginning of last month?
Jun 11, 2001 #2 tlbroadbent MIS Mar 16, 2001 9,982 US Select * From tbl Where CreateDate>=DateSerial(Year(Date()),Month(Date())-1,1) Terry http://members.home.net/tlbroadbent/prog.htm_____________________________________ Man's mind stretched to a new idea never goes back to its original dimensions. - Oliver Wendell Holmes Upvote 0 Downvote
Select * From tbl Where CreateDate>=DateSerial(Year(Date()),Month(Date())-1,1) Terry http://members.home.net/tlbroadbent/prog.htm_____________________________________ Man's mind stretched to a new idea never goes back to its original dimensions. - Oliver Wendell Holmes
Jun 11, 2001 Thread starter #3 ISS Technical User Jun 11, 2001 3 US Thanks. I knew it was something to do with serial, but I never quite got the wording right. Upvote 0 Downvote