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  

datasheet: ¿how to order by the 2nd column of a combobox?



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 4th, 2010, 07:26 PM posted to microsoft.public.access.forms
robeito
external usenet poster
 
Posts: 4
Default datasheet: ¿how to order by the 2nd column of a combobox?

hello there!

In my form there is a field "idCountry", but I don't want to see the number,
instead, I want to show the country name, so I changed the control to a
combobox and the rowsource is "select id,name from countryCat"... etc. etc.

It works fine, but there is a problem, when I try to sort the data sheet by
that field (using the right click button of the mouse), actually it is sorted
by the "ID" of the country instead of its name.

I want to see the datasheet sorted by the real names of the countries, not
by its IDs

any sugestions?

thanks in advance
 




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 02:09 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.