Creating Variables based on count value

Elvis

Registered User.
Local time
Today, 20:14
Joined
Sep 28, 2001
Messages
26
Hi All,

I have a form with 10 combo boxes on. I want to read the values of these into a variable based on a count loop. e.g.

var1 = cboVg1.text
var2 = cboVg2.text
var3 = cboVg3.text

but Im needing to use the count variable to increase the number in the combo control. Thats where I keep running into problems.

Anyone know of an easy way to do this, I've tried alsorts of combinations to do this. Not used VB for a while and now having to use VB.NET.

Thanks
 
you would use an array for this type of operation
 
Thanks for the reply, managed to get it working using arrays.
 

Users who are viewing this thread

Back
Top Bottom