Dim a As String
Dim b As String
Dim c As String
Dim d As String
Dim f As String
Dim g As String
Dim h As String
Dim i As String
Dim j As String
Dim k As String
Dim l As String
Dim m As Integer
Dim n As Integer
Dim o As String
Dim p As String
'Dim r As String
'Dim q As String
'Dim t As String
a = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 0)
b = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 1)
c = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 2)
d = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 3)
f = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 4)
g = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 5)
h = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 6)
i = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 7)
j = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 8)
k = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 9)
l = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 10)
m = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 11)
n = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 12)
o = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 13)
p = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 14)
'q = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 15)
'r = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 16)
't = DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 17)
ComboBox1.Text = a
TextBox1.Text = b
ComboBox2.Text = c
ComboBox3.Text = d
ComboBox4.Text = f
ComboBox5.Text = g
ComboBox6.Text = h
ComboBox7.Text = i
TextBox2.Text = j
TextBox3.Text = k
TextBox4.Text = l
TextBox6.Text = m
TextBox7.Text = n
ComboBox8.Text = o
TextBox5.Text = p