I have an article db that currently shows one article based on the most current Active date “CurrDate(Now)”
is my function to find the most current article. I would like to display the most current article for each “ArticleZone” in the db.
For example my asp page would look something like this:
<%=rsNews.Fields("ArticleZone=3")%><br>
<%=rsNews.Fields("ArticleZone=1")%> ect…
Table is named Articles and looks like this
ID, ArticleZone, ArticleActive, ArticleData
---------------------------------------------------------
1, 4, 11/25/2003, text/html content
2, 3, 10/24/2003, text/html content
3, 1, 12/22/2003, text/html content
SQL = "SELECT * FROM Articles WHERE ArticleActive <= " & CurrDate(Now) & " ORDER BY ArticleActive DESC"
I hope this is clear, Thanks mossimo