This works:
Dim list(9)
But this doesn't:
max_value = 9
Dim list(max_value)
How can I set the limit of this Array Variable using another integer variable (max_value)? I need to do this because the limit of list() will be the maximum value of an auto-incremented value from database.
Or, is it possible to don't set any limit? Or should I just set 999999 as the limit?
Dim list(): Redim list(max_value).