Results 1 to 3 of 3
  1. #1
    Joakim N is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Oct 2016
    Posts
    79

    Sorted Records in a Table

    Hi,

    How can I Sort records in Form attached to Table? In the form beneath, I want to sort the records on:
    1. Last Name
    2. First Name

    But I can't find anywhere to sort. When I'm making a combobox, I can sort its list by a query. But showing the records in a table I can't find where to use a query. Maybe that's not possible, Shall I use these property for the form?:
    - Order By
    - Order By On Load



    If I shall use these properties, what shall I write?
    Attached Thumbnails Attached Thumbnails Capture.PNG  

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    You can use the properties, put the table field names, such as "JobMgrTable.LastName, JobMgrTable.FirstName"

    Or you can use a query as your recordsource - in Design View, click on the three dots next to the table name and create a query from there. It will be a simple query, select all fields, sort by the your requirements

  3. #3
    Joakim N is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Oct 2016
    Posts
    79
    Thanks!

    Appreciate your help,
    \Joakim

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

Similar Threads

  1. Replies: 0
    Last Post: 05-31-2016, 01:54 PM
  2. Replies: 6
    Last Post: 02-14-2015, 05:40 PM
  3. Sorted Datasheet
    By RonL in forum Access
    Replies: 3
    Last Post: 09-10-2014, 08:52 AM
  4. Sub Form's ID# Not Sorted
    By netchie in forum Forms
    Replies: 5
    Last Post: 03-15-2013, 03:48 PM
  5. return last value in a sorted query / table
    By markjkubicki in forum Programming
    Replies: 5
    Last Post: 07-07-2010, 08:56 AM

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