Iaskyou
asked on
Why the value DataGrid.Row is limitted within 10
The DataSource property of this DataGrid is an ADODC. After User change the data, I want the DataGrid focus on the Changed row. The Codes are:
Dim lngBookID As Long
'grd2Books is a DataGrid
lngRePlace = grd2Books.Row 'Get the Current Row
'Modify the Data
...............
'adoBooks is ADODC, the DataSource of DataGrid
adoBooks.Recordset.Move lngRePlace, adBookmarkFirst
But when I select the row after 10th, the value of lngReplace remains 9 for ever. why??
Dim lngBookID As Long
'grd2Books is a DataGrid
lngRePlace = grd2Books.Row 'Get the Current Row
'Modify the Data
...............
'adoBooks is ADODC, the DataSource of DataGrid
adoBooks.Recordset.Move lngRePlace, adBookmarkFirst
But when I select the row after 10th, the value of lngReplace remains 9 for ever. why??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.