Outline an Field Value of a View Bug in R6?

Hi all,

i have a Frame, at the left i have an Page with an outline, at the rigth a have a view. I want to create a document when the User has select a form in a categor. View. When he select a categ. i want to navigate to the next doc. This Formular worked with R5:

@If(@IsAvailable(MatchCode);@PostedCommand([Compose]; Server:DB;Mask) ;@Do(@Command([ViewExpand]);@PostedCommand([NavigateNext]);@PostedCommand([Compose]; Server:DB;Mask)))

But with R6 I can’t get the value of the CurrentDoc of the View.

Any Ideas