When making an editable datagrid, I've gotten pretty good and handling the
function I call in the OnUpdateCommand event. I can update a table easily if
the query in the adapter behind the dataset only queries ONE table. I use the
following code to find the row that's being edited:

Dim r As myDataSet2.TimeTableRow
r = MyDataSet22.TimeTable.FindByTimeID(key)

The problem is, when the adapter uses a query that JOINS two tables, even
when I have the primary key defined in the dataset definition, this
"FINDBYXXXXID" method isn't available anymore? Is there any way to update a
datagrid if more than one tables are linked in the data adapter? If so, is
there something I should subtitute for the above lines of code to single out
the row being edited?

Any help, clues, or links are much appreciated...

->B