MoveNext not moving in order

I have a table named tblRHS which contains the following four records only:

Job_Order_Number      Action_Time                      Status_Name
0000100059      2/3/2006 10:35:45 AM      Import
0000100059      2/5/2006 3:04:18 AM                      Exported
0000100060      2/5/2006 3:02:11 AM                      Mine
0000100669      2/5/2006 3:00:17 AM                      Yours

I created a recordset which moves through all records, except it does not move in the table order. Here's the code:

Set rs = CurrentDb.OpenRecordset("tblRHB")
While Not rs.EOF

If I add a watch when running through the code, rs!Status_Name will show all the records in the following order:

How can I set my code up to read the records in the same order the table has them? I tried finding rhyme or reason as to why the records are being read in this order and found none. I have also used a do loop and will do the same thing. Thanks!
Horalia RodriguezIT DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
Hi horalia,

If you need records processed in a particular order, then you should use a query to define the recordset, and have
the ordering determined in that query.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Horalia RodriguezIT DeveloperAuthor Commented:
Worked. Thanks!
Patrick MatthewsCommented:
You're welcome :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.