Forums
This topic is locked
filter last week
Posted 01 Apr 2002 22:04:45
1
has voted
01 Apr 2002 22:04:45 Dave Clarke posted:
SELECT *FROM Messages
WHERE ((Messages.MessageDate>Date()-7))
ORDER BY Messages.MessageDate DESC;
does the above sql seem ok to you all to filter a recordset by records added in the last week? or is there a better way?
thanks
Replies
Replied 01 Apr 2002 23:09:58
01 Apr 2002 23:09:58 Owen Eastwick replied:
If it ain't broke, don't fix it. <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 02 Apr 2002 12:03:34
02 Apr 2002 12:03:34 Dave Clarke replied:
my sentiments exactly
thanks owen
dave<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
thanks owen
dave<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>