muebelacker
Posts: 5
|
| Posted: 01/28/2008, 3:47 AM |
|
Hello All,
i use a table to fill a ListBox. The column categories contains for example Level1 and this entry maybe 5 times.
How can i handle that the entry Level1 is only one times in the Listbox and not 5 times.
br
Mathias
|
 |
 |
wkempees
|
| Posted: 01/28/2008, 5:00 AM |
|
Change the Listbox's SELECT statement
from
SELECT id, text FROM table
to
SELECT id, DISTINCT(text) from table
"muebelacker" <muebelacker@forum.codecharge> schreef in bericht
news:5479dc0b926484@news.codecharge.com...
> Hello All,
>
> i use a table to fill a ListBox. The column categories contains for
> example
> Level1 and this entry maybe 5 times.
>
> How can i handle that the entry Level1 is only one times in the Listbox
> and not
> 5 times.
>
> br
> Mathias
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
muebelacker
Posts: 5
|
| Posted: 01/28/2008, 5:49 AM |
|
Thanks that answered my question and it works fine.
br
Mathias
|
 |
 |
|