Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 sorting / grouping data from a listbox to a table

Author  Topic 

odeh83
Starting Member

8 Posts

Posted - 2006-04-18 : 03:49:34
Hi guys, does anyone know how to sort/group the data in a lisbox then sending it to a table?

The listbox values are not always the same, I have like 17 different values i can choose from using checkboxes, when I click on add, the values I check appear in "listbox"!! then, If I want to sort them, I simply add the values i want to sort into "listbox1". For example: say i have 3 values, "a", "b" and "c" in "listbox1" and I choose to sort data "b" then "a" then "c" and send it to a table in that order, how do i do it???

another problem is grouping data in "listbox2" then sending it to a table...if anyone can help me plzzzzz..

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-04-18 : 04:45:01
Order of data doesnt matter in a table. Send data to table and when querying from the data use Order by clause

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

odeh83
Starting Member

8 Posts

Posted - 2006-04-18 : 05:03:52
mmmmm...i c
thanx man!
Go to Top of Page
   

- Advertisement -