Emulation of response hierarchy

Hello, I have two type of documents A,B. Both are main documents. (not response). B are in relation to A and they have a field “ParentDocID”. (containing parent doc A UNID). Documents B can not be response!

I need to show documents A,B in a hierarchy view (like responses).

I found this issue:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/e42b15d0af6472b885256ed00029cba6?OpenDocument

In some response before somebody shows the solution - the way is: In view SELECTion formula, put the following code on the before the “SELECT” statement:

DEFAULT $Ref := ParentDocID

Unfortunately It did not work in my case. (ParentDocID is in text format. But I am sure it must be possible to achieve response hierarchy emulation if necto says he was successful.

Any clue. Thanks Jakub