As reference, I use the question How to take the determinant of a partitioned matrix with vectors?
Suppose that
$$ M := \begin{pmatrix} A & B \\ C & D \end{pmatrix} $$
where the block $A$ is $r \times r$ and invertible, the block $B$ is $r \times (p-r)$, the block $C$ is $(p-r) \times r$, the block $D$ is $(p-r) \times (p-r)$ and $p > r$. Further, assume $\operatorname{rank} (M) = \operatorname{rank} (A) = r$. I know from the link above,
$$ \det \left( D - C A^{-1} B \right) = 0 $$
However, I am asked to show $C A^{-1} B = D$. I am not sure how to make the jump from the determinant of $D - C A^{-1} B$ being zero to $D - C A^{-1} B = 0$. Can someone please help me?