> I do an order by postdate but it orders only by date, not by time, so
> all posts for a particular date appear in random order.
Very strange indeed. When you make the query in Access, does it do the same
thing?
> Can you explain more about between Date() and DateAdd("d", 1, Date
> ()) ? I haven't a clue.
In your SQL, instead of querying for postdate = Date(), you'll need to check
to see if the date is between today at midnight and tomorrow at midnight.
To do that, you'll use this:
WHERE postdate between #" & Date() & "# and #" & DateAdd("d", 1, Date()) &
"#
DateAdd adds an interval of time to a date/time argument. This example adds
one day ("d") to today.
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/