|
-
Jun 3rd, 2001, 02:25 PM
#1
Populating a combobox
Quick question
i wanna populate a cbobox with values 8 to whatever..
what is wrong with this because it is starting at 10 and ending with
8 and 9
For i = 7 To 49
FrmValues.CboVal.AddItem i+ 1
Next
whats wrong here?
-
Jun 3rd, 2001, 02:34 PM
#2
Addicted Member
Lets eliminate the bad code first, try this
For i = 7 To 49
FrmValues.CboVal.AddItem CStr(i + 1)
Next i
-
Jun 3rd, 2001, 02:37 PM
#3
Addicted Member
It works fine for me even without my change
-
Jun 3rd, 2001, 02:40 PM
#4
Its got 2 start at 8 but still seems to be ending with 8 and 9
-
Jun 3rd, 2001, 02:42 PM
#5
Addicted Member
I get 8 to 50, no problem.
-
Jun 3rd, 2001, 02:49 PM
#6
Im propably doing something worong thanx any way
-
Jun 3rd, 2001, 02:53 PM
#7
Addicted Member
Post your code. We'll fix it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|