View Single Post
  #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