Thread: Array
View Single Post
Old Apr 23rd, 2008, 9:30 PM   #3
A.K.Al Shamsi
Programmer
 
A.K.Al Shamsi's Avatar
 
Join Date: Mar 2008
Posts: 35
Rep Power: 0 A.K.Al Shamsi is on a distinguished road
Re: Array

i want to display
        Select Case salary
            Case 200 To 299
                survey(0) += 1
            Case 300 To 399
                survey(1) += 1
            Case 400 To 499
                survey(2) += 1
            Case 500 To 599
                survey(3) += 1
            Case 600 To 699
                survey(4) += 1
            Case 700 To 799
                survey(5) += 1
            Case 800 To 899
                survey(6) += 1
            Case 900 To 999
                survey(7) += 1
            Case Is > 100
                survey(8) += 1
        End Select
all these in listbox i got 0 which is not waht i want
A.K.Al Shamsi is offline   Reply With Quote