Microsoft Access Developer Question: Download Microsoft Access Developer PDF

Tell me when I assigned a primary key to my table in Microsoft Access, I was expecting my data to be sorted. Am I using the correct procedure?

Tweet Share WhatsApp

Answer:

Some developers occasionally rely on indexes to sort their data, but shouldn't. That's because an index is an internal Jet operation that relies on internal rules to speed sorting, which is not the same as actually performing the sort. Records are not stored differently or changed. The sort is not performed until an action is being taken against the data like a query. This is not the same as simply opening a table in its Datasheet View. Although an index often appears to sort data, those internal rules often conflict with normal sorting practices and can have unexpected results. Sorting can be accomplished through the use of a query where ascending or descending can be specified against any one of the fields chosen from the table.

Download Microsoft Access Developer PDF Read All 51 Microsoft Access Developer Questions
Previous QuestionNext Question
Tell me how can I open an MS Access database that has been converted to a current version?Tell me why don't my table relationships show as '1' and '∞'? All I have is the line?