On Wed, 29 Oct 2003 00:58:01 GMT, RamChip <(E-Mail Removed)> wrote:
¤ VB.net... MS Access data files
¤
¤ Got 2 Comboboxes. Both are bound to a DataSet. One lists a groups of
¤ numbers. The other associated names.
¤
¤ The current method is to list the Combobox with numbers (which they are in
¤ numeric order in the Access data file).
¤
¤ What I want to accomplish is to give a user the method to toggle the
¤ associated names to be sorted or not (not at startup).
¤
¤ When I try to Sort the Combobox of associated names (combobox2) I get the
¤ error:
¤
¤ Can't sort a ComboBox that has a DataSource set. Sort the data using the
¤ underlying data model.
¤
¤ How can this be accomplished?
What it is saying is that you should perform your sort when you query the database so that your
associated names are in order.
Paul ~~~
(E-Mail Removed)
Microsoft MVP (Visual Basic)