>Is it possible to :
>
>1) get the value of a text box at column X and Row Y in a grid?
>2) to set focus to a text box at column X and Row Y in a grid?
>3) delete a specific row of a grid which is a child table?
>
>Thanks :)
>
>Ralf
1) You should first move to Row Y. Then oGrid.Columns(X).Text1.value
2) See ActivateCell method. But be warned it's valid for visible part of the grid.
3) Nothing via grid PEM AFAIK.
Now these were the grid PEM way. But I suggest something different which is more secure and easy :
1) Go to record. Directly read controlsource value.
lnSaveRec = recno() && Save current
go Y
lValue = myTable.myField
go lnSaveRec && Return to current
If you don't want to move record pointer (which would fire record level rule and current field's valid, commit if row buffering used) do an SQL select into array (but SQL would only select from committed).
2) First go to record. Refresh grid then oGrid.Columns(X).setfocus.
3) Go to record and delete.
Cetin