T
turks67 via AccessMonster.com
Is there a way to show the first Five rows in a query that has Forty rows.
turks67 via AccessMonster.com said:Is there a way to show the first Five rows in a query that has Forty rows.
Dirk Goldgar said:In what context? You can size a continuouis form so that only 5 rows
show, but I think that may be too simple for what you really want. More
likely, you can write a query that returns the TOP 5 records from the
original query, ordered by some unique set of key fields. For example:
SELECT TOP 5 MyQuery.* FROM MyQuery
ORDER BY SomeField;
Douglas J. Steele said:Just be aware that should there be ties in the values for SomeField, you
may get more than 5 rows returned.