>I have a grid which is read only, & the user can move around using the cursor keys (or mouse).
>
>I want to detect where the cursor is in the grid, when a user presses a command button on the bottom of the screen.
>
>I have a feeling this will be somthing pretty obvious but hey we all have bad days!
When the user clicks a command button, the cursor isn't anywhere in the grid, it's on the command button. You can check the last row that the user was on by checking the current record of the RecordSource for the grid. If you want to track the last column, you'll have to employ some code that stores this information in a custom property of the grid or form, and run it from the grid's AfterRowColChange event.
Erik Moore
Clientelligence