Click here to go to the Office Update Home page   All Products  |   Support  |   Search  |   microsoft.com Guide  
Featured on Office UpdateMicrosoft
   Home   |    Auto Update   |    What's New   |    Search Office Update   |    eServices   |    Office Update Worldwide   |    Site Help   |
 
Table of Contents

Sorting Records in an Access 2000 Project

About Sorting Records Before They're Retrieved from the Database

About Sorting Records After They're Retrieved from the Database

About Working Around Table and View Sort Limitations

Deciding When to Sort

How to Sort Records Before They're Retrieved from the Database

How to Sort Records After They're Retrieved from the Database

How to Work Around Table and View Sort Limitations

Summary of Sort Operations

Sorting Records in an Access Project: Additional Resources

  

About Sorting Records Before They're Retrieved from the Database Click here to email this to a friend.

There are two ways to sort records before they are retrieved from the database:

  • Use a stored procedure with an ORDER BY clause in the SELECT statement. You can use the stored procedure by itself, or as the record source of a form, report, or data access page.
  • Use an SQL statement with an ORDER BY clause in the RecordSource property of a form or report.

When you specify a sort order before records are retrieved from the database, you can perform both simple and complex sorts. Each time you view the results of a stored procedure or SQL statement, the sort order is automatically applied.

    
 
é

© 2000 Microsoft Corporation.
All rights reserved. Terms of use.  Disclaimer.