Allowing user to sort columns in listbox

S

smpil

I've got a listbox in a form which has 5 columns in it. How do yo
enable the user to sort by column simply by clicking on the column hea
(ascending first click, descending second click)..

Many thanks!
smpi
 
A

Adrian Jansen

Teach your users to right-click in any column of the listbox. Brings up a
floating menu with a sort option. Anything else involves adding command
buttons and code to select a column and sort by it. The Windows Explorer
type sort is not available from within Access ( unless its been added to
A2003 ).

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

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