Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22

    Id Order

    Hi,


    I have a database I created, at present it holds 216 records, some entries have been deleted. I can add new entries with no problems except how they are being stored. IE, After record 209 all new entries are being stored coerectely in the two tables, but not in the form used to enter data all new records 210 to 216 are showing between 204 & 205 and 206 to 209 are showing as lastest entries.
    I just cannot resolve this issue, Pease help.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You need to use a query with an OrderBy clause to guarantee the order of the data.

  3. #3
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    I have had a go at setting it up, but to be honest I have not succeded, could any give me an idea how to.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Use the Query builder. Include all of the fields of the table you want and select which field to sort on.

  5. #5
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    Hi, Im not sure if you understood my question its the form i am using to enter the data that is in question. when clicked on to last entry it goes to record 209 insted of the actual last entry, when navigating down the list the last entries are between records 204 & 205.

    IE: 204, 210 to 216, 205 to 209.

    Thank you.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What do you "click on to last entry"?

  7. #7
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    Hi, The last record button at the bottom of the page. it goes to record 209.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    So you have the native Nav Buttons turned on then. The Jet engine that returns records treates tables as a "bucket" of records and returns them optimized for speed unless you use a query to set the order of the records.

  9. #9
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    ok, so there is nothing wrong, if i create a button to find last record would this be better.

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is there something wrong with using a query?

  11. #11
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    not if it can be embedded to operate automatically when database is opened, if so how can it be embedded. Because when creating the query using the wizard forms did not show and as stated previously the two tables are in the correct order.
    (I do have querys that calculate tax years, just to let you know that i do use querys)

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I'll state it again:
    Quote Originally Posted by RuralGuy View Post
    The Jet engine that returns records treates tables as a "bucket" of records and returns them optimized for speed unless you use a query to set the order of the records.

  13. #13
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    Ok so what you are saying is the only way to view the records in order is in a query and the form stays as is.

  14. #14
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by Rockin-John View Post
    Ok so what you are saying is the only way to view the records in order is in a query and the form stays as is.
    Bingo! By jove I think you've got it.

  15. #15
    Rockin-John is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    22
    Well thanks for your help, case solved and will be marked as solved.
    I cured the problem by saving it as is and renaming the file, when opened it was all in order again.
    Again Thanks.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. order by setting itself
    By byterbit in forum Reports
    Replies: 1
    Last Post: 02-02-2011, 08:59 AM
  2. attributes out of order
    By Dornenhexe in forum Queries
    Replies: 9
    Last Post: 07-12-2010, 02:36 PM
  3. Order by
    By cowboy in forum Access
    Replies: 2
    Last Post: 05-03-2010, 05:04 PM
  4. Tabbing order
    By emccalment in forum Forms
    Replies: 1
    Last Post: 02-18-2010, 10:58 AM
  5. Chart Order
    By protean_being in forum Reports
    Replies: 0
    Last Post: 06-19-2008, 09:26 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