AndrewMozley
Programmer
I realise that I have been inconsistent in handling movement in a grid.
A grid grdMain has RecordSource = “cData” and 5 columns.
When the user is positioned in any cell and presses <Enter>, focus is moved to the next cell in the right. It is intended that moving from a cell in the right-hand column should normally move to the first cell in the next row.
What is the easiest way for focus to move to the next line down (in the first column)? and where should the code be placed.
( The user usually navigates by pressing <Enter> But he may press the Down-Arrow key, in which case focus should move to the next cell down in the same column).
Thanks. Andrew
A grid grdMain has RecordSource = “cData” and 5 columns.
When the user is positioned in any cell and presses <Enter>, focus is moved to the next cell in the right. It is intended that moving from a cell in the right-hand column should normally move to the first cell in the next row.
What is the easiest way for focus to move to the next line down (in the first column)? and where should the code be placed.
( The user usually navigates by pressing <Enter> But he may press the Down-Arrow key, in which case focus should move to the next cell down in the same column).
Thanks. Andrew