
this is going to sound really dumb...
Quote:
> ok.. i have a recordset and have a datagrid on a form. i want to
retrieve
> (debug.print for example) a name from one of the fields in the selected
> entry. i.e.
Whatever it was that you used to bind the datagrid to the recordset is the
thing that owns the recordset. for example, if you used a data control, you
might code something like this:
Data1.Recordset!LastName
In any case, you refer to the recordset itself to get the value, not the
grid. And since the user clicking on the grid tells the data control which
record they want, the data control will make sure that whatever field you
refer to will have the value of the current record.
--
Peace & happy computing,
Mike Labosh, MCSD MCT
"Escriba coda ergo sum." -- vbSensei