-
moving in data grid
Hi VB Experts,
Again.. with DBGrid ...
please, i need the code which can do the following:
when I click "Enter" in the active cell , the pointer moves down (let the active cell becomes the next row in the same column) exactly like "MS EXCEL". BUT when i reach the last Row , let the pointer moves till the first row in the same column.
Thank you so much
-
Hi
Erm, would it be the list index property perhaps - To get to the first entry - use 0
OR
May be you need to get the ID of the current record and set the selected row of the dbgrid to the next ID - if you are on the last row - set the id to 0 or 1...
OR
A movenext...Last record reached (EOF) then Movefirst
Just a couple of ideas
Vince