Jun 11, 2001 #1 ISS Technical User Joined Jun 11, 2001 Messages 3 Location 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 Joined Mar 16, 2001 Messages 9,982 Location 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 Joined Jun 11, 2001 Messages 3 Location US Thanks. I knew it was something to do with serial, but I never quite got the wording right. Upvote 0 Downvote