Forum Discussion
sastowe
14 years agoSuper Contributor
I don't know Delphi 7 grid specifically. Here is what I think you might look into. Your wRowCount property may only have whatever data is currently fetched or disdplayed. I am given this thought by your saying it only goes up to 100. It makes me think that the underlying code is fetching data from the source in bits. You may need to rethink how you get at the grid or the grid's data. I had one grid in which instead of
For i = 1 to grid.RowCount
grid.Row = i
... do stuff
Next
I could do
grdTest.MoveFirst
Do While Not
grdTest.EOF
'' Do whatever operation you want
to do.
grdTest.MoveNext
Loop
Where eof was reporting accurately as more data was dynamically fetched.
Look into what is available for native properties and methods of the grid. You may want to look and see if the grid is somehow bound. You may be able to get to the grid's data.
Good luck.
For i = 1 to grid.RowCount
grid.Row = i
... do stuff
Next
I could do
grdTest.MoveFirst
Do While Not
grdTest.EOF
'' Do whatever operation you want
to do.
grdTest.MoveNext
Loop
Where eof was reporting accurately as more data was dynamically fetched.
Look into what is available for native properties and methods of the grid. You may want to look and see if the grid is somehow bound. You may be able to get to the grid's data.
Good luck.