Tom,
Populate the columns with your own Textbox subclass. The code can be put in the textbox subclass itself, or (this is the way I'd do it) the textbox subclass can simply delegate the doubleclick up to the grid:
this.parent.parent.DoubleClick()
and let you put the code in the grid.DoubleClick() method.
>I have issued a SQL cursor as record source for my grid, unfortunately, is a grid which end user defines the selected field in the SQL. what i am trying to do is when i double click on the grid record, i want do the next form with the id as the criteria. in order to do this, i must issue a do form command in the double click event of the textbox in the grid. is there a way for me to do this wihtout knowing the grid size?