Results 1 to 8 of 8
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Getting a tables column to sort on ascending

    I am trying to get the following table to sort on ascending ysnMeetingID. It is not doing that now.

    I have included a file snippet attached to this email of what the table looks like now.. Please explain how I may do that?

    Any help appreciated. Thanks in advance.



    Respectfully,

    Lou Reed
    Attached Thumbnails Attached Thumbnails Capture31.PNG  

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    make a query, sort on the field.

  3. #3
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Or you might be able to right-click in that column, then see if there is sort options to use in the pop up menu.

  4. #4
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Okay, that might work. But please understand that there are only 4 ysnMeetingID's to sort on. So there will obviously be a lot of repeats. A lot people attend each meeting. I am just confused as to how to do it. I thought you could do it in the table design. You did not need to make anything more than just a table design.

    I will try what you said.

    Thanks,

    Respectfully,

    Lou Reed

  5. #5
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Perhaps your data structure is working against you?? Your table is called attendance, but it includes invitation info, relates to 4 meetings (it seems) and several participants.

    What is the PK of this table?
    AttendanceID?

    It seems at first blush --did Person XXX attend meeting TTT ==> Yes or No
    not Present, Absent, N/A,


    See this data model and look at the roster table to see how attendance is set up.

  6. #6
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I was thinking of doing something like that shown in the attached file. By that I mean indexing right from the tale design. It seems
    the best and easiest way.

    If I do a query, which is of course was one of my first thoughts, wouldn't that move this table into the query section? I want the tblAttendance to remain
    right where it is now, just sorted on ysnMeetingID in ascending order.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed
    Attached Files Attached Files

  7. #7
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Lou why do you need a table sorted a certain way. Are you letting users open this table directly to do something which is a very bad idea?

  8. #8
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    No, in the table above, I just found a way to do it. The question is now overcome by events. But many thanks for your help.

    By the way, I would like to freeze people out from working on the tables. How do I do it?

    I do not want people users of the db messing about on the objects of my db.

    AnY help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed
    Last edited by Lou_Reed; 06-09-2017 at 11:19 AM.

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

Similar Threads

  1. How to add a sort button to column headers?
    By intrepid in forum Access
    Replies: 6
    Last Post: 02-25-2015, 04:46 PM
  2. Replies: 1
    Last Post: 04-07-2014, 02:59 AM
  3. Multiple Column sort.
    By detaylor1242 in forum Access
    Replies: 5
    Last Post: 10-31-2013, 10:23 AM
  4. 3-column sort in a query
    By JeanZander in forum Queries
    Replies: 11
    Last Post: 12-28-2012, 05:50 PM
  5. Replies: 0
    Last Post: 03-26-2007, 02:12 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