I have a Message Board type application that is used in a corporate Intranet environment where I did the same thing.
Note the example query...
Code:
SELECT Title, Author, [Date] FROM msgbd
Now check out this query...
Code:
SELECT TOP 5 Title, Author, Date FROM msgbd ORDER BY [Date] DESC
The
TOP 5 clause specifies that only the first five tuples of the result set will be returned. Hope this example helps.
rynðx