R
reneedaudert
I need to know how to create a two dimensional array in Access that
inputs data from two text boxes and displays them all in a third text
box. Here is what I have, but it does not work:
For x = 0 To 9
sSortArray(x, 1) = TxtName.Value
sSortArray(x, 2) = txtGrade.Value
x = x + 1
Next x
For x = 0 To 9
sDisplayString = sSortArray(x, 1) & "'s Grade is " & sSortArray(x, 2)
_
& vbNewLine
Next x
txtOutPut.Value = sDisplayString
inputs data from two text boxes and displays them all in a third text
box. Here is what I have, but it does not work:
For x = 0 To 9
sSortArray(x, 1) = TxtName.Value
sSortArray(x, 2) = txtGrade.Value
x = x + 1
Next x
For x = 0 To 9
sDisplayString = sSortArray(x, 1) & "'s Grade is " & sSortArray(x, 2)
_
& vbNewLine
Next x
txtOutPut.Value = sDisplayString