I want to know the number of the row that I just use data1.findfirst on. I need to know the row number so I can then minus 14 from the row number.
DBGrid.row = "The minus 14th row"
Printable View
I want to know the number of the row that I just use data1.findfirst on. I need to know the row number so I can then minus 14 from the row number.
DBGrid.row = "The minus 14th row"
OK, If I am correct in what your wanting.. try this..
Dim AA as Integer
Dim X as Integer
AA=dtgMain.RowContaining(X)
'then after this add it up...
DBGrid.row = AA - 14
I may have it screwed up as far as the Dim Statements, but this should give you a boost in the right direction.
------------------
John T. Mieske
Star Trek LCARS programmer
Knight Vision Enterprises
[email protected]