Forums
This topic is locked
Selecting Records by date
Posted 09 Jan 2003 13:12:51
1
has voted
09 Jan 2003 13:12:51 DowN] [SySt3M posted:
Hi,I am trying to select a number of records and filter them by the current date in ASP but Im not having any luck.
rsDiary.Source = "SELECT * FROM tblEvents WHERE DateOn > " & Date & " ORDER BY DateOn ASC"
It still however shows the records from last year also.
Any help would be greatly appreciated <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replies
Replied 09 Jan 2003 13:20:09
09 Jan 2003 13:20:09 Martha Graham replied:
Maybe this is helpful to you:
www.tacoma.washington.edu/at/training/handouts/access/Queries.PDF
Martha Graham
www.tacoma.washington.edu/at/training/handouts/access/Queries.PDF
Martha Graham
Replied 09 Jan 2003 13:48:17
09 Jan 2003 13:48:17 Owen Eastwick replied:
Try:
rsDiary.Source = "SELECT * FROM tblEvents WHERE DateOn >= #" & Date() & "# ORDER BY DateOn ASC"
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
rsDiary.Source = "SELECT * FROM tblEvents WHERE DateOn >= #" & Date() & "# ORDER BY DateOn ASC"
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 09 Jan 2003 14:00:34
09 Jan 2003 14:00:34 DowN] [SySt3M replied:
thanks, When using the # method it shows no records at all then.
Im still downloading acrobat reader.
Im still downloading acrobat reader.