hi all
I have this code to move down with my datagrid.
All things is going fine whene for a reason
the grid is starting jumping lines without reading the line saing in the i loop.
k = DataGrid1.ApproxCount
For i = 0 To k Step 1
DataGrid1.Row = i
code = DataGrid1.Text
DataGrid1.Col = 1
result = chkdigit(DataGrid1.Text)
final1 = DataGrid1.Text & result
Print #1, code, final1
DataGrid1.Col = 0
Next
any help
I have this code to move down with my datagrid.
All things is going fine whene for a reason
the grid is starting jumping lines without reading the line saing in the i loop.
k = DataGrid1.ApproxCount
For i = 0 To k Step 1
DataGrid1.Row = i
code = DataGrid1.Text
DataGrid1.Col = 1
result = chkdigit(DataGrid1.Text)
final1 = DataGrid1.Text & result
Print #1, code, final1
DataGrid1.Col = 0
Next
any help