Results 1 to 2 of 2
  1. #1
    seekquaze is offline Novice
    Windows XP Access 2000
    Join Date
    Oct 2010
    Posts
    1

    In Microsoft Access 2000, how do you sort or filiter records using a form in the orde

    For a project I am working on I am having to use a Microsoft 2000 database that was meant for another project and adapt it. So far everything is working out fine, but whenever I input records using a predesigned form it puts them in a different order than that of which I entered them. The table still displays the records in the order of which I inputed them, but the form redoes them in I think alphabetical order. So, when I go through the records in the form they are in another order other than the one I inputed them. The basis of this seems to be a "find record" drop down box that sorts them alphabetically. According to a person who has used the database before the box has always done that, but it has never affected the order of the records.

    The records are already sorted on the table by autonumber. What I want to know is how to get the order they are on the table to be the order of the forms. Example: On the table the records are ordered 1, 2, 3. But when going through the records on the forms they are ordered 3, 1, 2. When viewing the records on the forms and not the tables how do I get it ordered to be 1, 2, 3.

    So, what do I need to do so when I go through the records in a form view they are in the order I inputed them and not in another order?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    It is a mistake to rely on the order of records in a table. It should be thought of as a bucket that holds data in no particular order. You sort it when you view it via query, form or report. In this case, you can base the form on a query that includes the appropriate sorting, or set the OrderBy and OrderByOn properties in the open event (might be the load event).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Microsoft Access 2000 Form Help
    By dsheets05 in forum Forms
    Replies: 4
    Last Post: 10-29-2010, 05:26 PM
  2. Checkbox to sort records
    By homerj56 in forum Programming
    Replies: 1
    Last Post: 09-09-2010, 09:53 AM
  3. Linking Microsoft Word Form to Access Table
    By jrockusa in forum Access
    Replies: 1
    Last Post: 12-03-2009, 05:09 PM
  4. Access 2003, sort order property of a form
    By Rick West in forum Forms
    Replies: 11
    Last Post: 09-17-2009, 08:28 PM
  5. Microsoft Access 2003-Missing Records??
    By kristenlee in forum Access
    Replies: 1
    Last Post: 04-04-2008, 06:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums