Two Dimensional Array "Brain Freeze"
Posted on 2002-04-16
I am new to VB and I need to make a two dimensional array that will have a search feature (Do until Boolean found). I am having trouble with the initial layout.
I have three Brands with product numbers. I have a fourth brand that the numbers correspond to.
I need to be able to select one of the three brands (list box?) and then input a product number (text box). The label caption will then display the corresponding result from the fourth brand.
I just need a hand getting started as my brain is locking up when I try to get this going.
I have started with:
mstrParts(0 To 8, 0 To 3) As String (It needs to be string as the product numbers are alphanumeric)
mstrParts(0, 0) = "A12"
mstrParts(1, 0) = "C41"
mstrParts(2, 0) = "D22"
After I have all arrays defined, I can't seem to figure out how to get the ball rolling.
Any help would be appreciated.