A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sorting order



 
 
Thread Tools Display Modes
  #1  
Old December 26th, 2006, 07:56 PM posted to microsoft.public.access.forms
Susan
external usenet poster
 
Posts: 651
Default Sorting order

Hello,
I have a table of 700 hundred people. ID number, first name, last name.
In the table, they are sorted by ID num, the primary key. When I pull the
form up,
the people are listed in order by the first letter of their first name. Z to
A.
Why is the form sorting diff from the table? Can this be changed?
Thank you all for your help.

Susan
  #2  
Old December 26th, 2006, 08:23 PM posted to microsoft.public.access.forms
Jacob
external usenet poster
 
Posts: 14
Default Sorting order

Susan,

You can sort the form using the On Open Event:

Me.OrderBy="[Field1],[Field2], etc "
Me.OrdeByOn=True

Note: The OederBy id a string

Regards
Jacob

Susan wrote:
Hello,
I have a table of 700 hundred people. ID number, first name, last name.
In the table, they are sorted by ID num, the primary key. When I pull the
form up,
the people are listed in order by the first letter of their first name. Z to
A.
Why is the form sorting diff from the table? Can this be changed?
Thank you all for your help.

Susan


  #3  
Old December 26th, 2006, 08:27 PM posted to microsoft.public.access.forms
missinglinq via AccessMonster.com
external usenet poster
 
Posts: 545
Default Sorting order

Is your form based on a query or directly on the table?

Susan wrote:
Hello,
I have a table of 700 hundred people. ID number, first name, last name.
In the table, they are sorted by ID num, the primary key. When I pull the
form up,
the people are listed in order by the first letter of their first name. Z to
A.
Why is the form sorting diff from the table? Can this be changed?
Thank you all for your help.

Susan


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com

  #4  
Old December 26th, 2006, 09:35 PM posted to microsoft.public.access.forms
Susan
external usenet poster
 
Posts: 651
Default Sorting order

Based on a table

"missinglinq via AccessMonster.com" wrote:

Is your form based on a query or directly on the table?

Susan wrote:
Hello,
I have a table of 700 hundred people. ID number, first name, last name.
In the table, they are sorted by ID num, the primary key. When I pull the
form up,
the people are listed in order by the first letter of their first name. Z to
A.
Why is the form sorting diff from the table? Can this be changed?
Thank you all for your help.

Susan


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.