Subject invalidate active record in a master/detail relationship

In a fairly large dataset, I have some calculated fields. I would like to invalidate the active master record only when detail data changes.

I see the InvalidateRowNum(), but I don't know the row number (the active row

Is there an easy way to achieve this?

Thank you

Ed Dressel