How to change link to detail from depending of the content of a field in master?

Hello,
I would like to have different detail forms depending on the content of a field in the master form.
Many thanks for any idea!

Siggi

an idea is to make different blocks and hide/show then depending the fieldcontent.

Thank you, nonkelmike,
that was my solution, not the best, but it works.

Siggi