This is for VB6 but I need help yo, anyone know how to make a for if loop count backwards? I'm making a database application and hate having to go to the bottom to select a commonly selected number
This is the current loop:
Code:
For i = 0 To 75
cmbLevel(0).AddItem i
cmbLevel(1).AddItem i
cmbLevel(2).AddItem i
cmbLevel(3).AddItem i
Next i
But:
Code:
For i = 75 To 0
cmbLevel(0).AddItem i
cmbLevel(1).AddItem i
cmbLevel(2).AddItem i
cmbLevel(3).AddItem i
Next i
Does not work (obviously
). Figure'd id ask here.