hi alll
i have
*******dataset**********
dscompanies 1

*********tables in the dataset**********
a) res
b) T_Companies

both conncted with 1:m relation T_resT_companies (1 company can have many records in res)

*********datagrid***************
grdConnWay
datasource = T_companies.defaultview
datamember = T_Companies.T_resT_companies



so when i sand on companies grid (not mentioned here) its retrives all the res details.

my question is when i stand on grdConnWay - and want to delete row i should delete it from the res table - how do i do that?
or how i retrieve the key value?
i hope i clarify myself as well...
thanks to all