unbound list box sort

J

John

I have an unbound list box, that displays 3 columns of data MR,FName,LName.
Is there a way to have the data in the list box sorted according to LName
(lastname). Right now they appear to be showing in order that the records
were entered.

Thanks
 
S

Steve Schapel

John,

Set the Row Source of the listbox to a Query where you can sort by the
LName field, or to the equivalent SQL statement with an ORDER BY clause.
 
J

John

Thanks
Steve Schapel said:
John,

Set the Row Source of the listbox to a Query where you can sort by the
LName field, or to the equivalent SQL statement with an ORDER BY clause.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top