Simple question - view - please, help me

I want to show the documents always collapsed whem I use the view. “Collapse all when database is first opened” work only when it is first opened, but I need it always the view is opened. I tried to use “@command([viewcollapseall])” in the postopen object, but it is not working. How can I do it?Thanks a lot.

Subject: Simple question - view - please, help me

This works for me…

a:=@Command([ViewCollapseAll]);

@If(@IsError(a);@Return(“”);a)

In the view postopen event…

Subject: RE: Simple question - view - please, help me

Thanks but It isn´t working for me!

Subject: RE: Simple question - view - please, help me

Second tab of the view’s properties, set the “On open” property to “Go to top row”.

HTH

Patrick

PS: I forgot. Get rid of the code in the postopen event. It works randomly thus not reliable.