Results 1 to 3 of 3
  1. #1
    faca is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    52

    Question

    Hello!

    I have mechanic database, this database has form where i select parts and make something similar to invoice. Problem is that sometimes (not always) sorting is messed up.

    This is just example!

    Selected items:

    Bread 1kg 5€
    Water 5l 10€


    Snickers 1 piece 2€
    Bounty 2 pieces 6€

    after i close form or exit access and come back to check selection again it would be like this (messes up sorting):

    Water 5l 10€
    Snickers 1 piece 2€
    Bread 1kg 5€
    Bounty 2 pieces 6€

    where is the problem? i mean it's not doing this always..

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Looks like descending sort. Access only sorts when it's instructed to.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    faca,

    Show readers your table design(s). Forms are the preferred method for users to interact with your database. Forms are like a window through which data in table(s) can be read/written.
    Tables do not have any inherent sort order. Queries with a specified ORDER BY clause will provide a means for consistent sort order.
    Good luck.

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

Similar Threads

  1. Replies: 4
    Last Post: 08-25-2012, 07:19 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