ADP vs Report Data Filtering

D

DK

I have an Access 2k adp file connected to SQL 2000. I want to limit the
records in a subreport to the top 3 in descending order by date. The SQL is
easy: SELECT TOP 3 Table.* FROM Table ORDER BY DateField DESC. However, the
OrderBy property is ignored in adp files and Access help says to use the
ServerFilter property to set the sort order. How do you do this? Also, the
TOP 3 must be handled differently because the ORDER BY must be applied
first. How? Any Suggestions would be appreciated.

DJK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top