Topic:Sorting data in Access Remainpoint:0
   
PostTime:12/16/2008 9:25:42 AM FloorTop
Lv is 1
Avatar
Level:
1
Professional point:
94
Experience:
0
Thread:
293
Post:
994
Total online time:
0M
Joined date:
4/29/2007 12:25:00 AM
Last Visit:
12/16/2008 11:23:06 PM
Status:
Offline
I have a table named Contacts with a First and last Name field and then a combo box on a form named issues that uses a drop down to select one of these contacts. I also have an Add button next that pulls up the Contacts form and allows for someone to add a new contact name to the table and thus adding it to the drop down for next time. I am trying to get that to sort by Last Name then First name and I am not having much luck. Any help would be appreciated.

Thanks
 
     
   
Gender PostTime:12/16/2008 11:23:20 AM Point:0 | Floor# 1
Lv is 1
portrait
Level:
1
Professional point:
98
Experience:
2
Thread:
272
Post:
982
Total online time:
2M
Joined date:
4/28/2007 11:38:00 PM
Last Visit:
12/17/2008 12:23:56 AM
Status:
Offline
Personally I prefer to base the Combo Box on a Query and do the sorting in the Query.
 
     
   
Gender PostTime:12/16/2008 5:20:31 PM Point:0 | Floor# 2
Lv is 1
portrait
Level:
1
Professional point:
4
Experience:
3
Thread:
263
Post:
954
Total online time:
3M
Joined date:
4/29/2007 2:46:00 AM
Last Visit:
12/16/2008 11:21:46 PM
Status:
Offline
Set the Oder By property for the dropdown to Last name, first name
 
     
   
Gender PostTime:12/16/2008 11:17:07 PM Point:0 | Floor# 3
Lv is 1
portrait
Level:
1
Professional point:
32
Experience:
5
Thread:
287
Post:
980
Total online time:
5M
Joined date:
4/29/2007 12:12:00 AM
Last Visit:
12/16/2008 11:58:01 PM
Status:
Offline
And where do i find that order by property for the drop down? I looked the property list and didn't see it or am i looking in the wrong spot?

Thanks
 
     
1

Sorry, you are not login, click here to login

 

About us | Advertise | Contact us | Partner | Bug Report|Suggesting box|Donation
Home | Forum | Affiliate program| Remote help | Setting | Search | Document | Help | Download|Message

 

Start new topicAdvanced search
Your location: Database -> Access