Thanks for the reply Martha,
actually i tried with the post open code to collapse all but my requirement wont be complete.
As if inavigate to other views and come back to this view now my last viewed document wont be dispayed.
I want the view to becollapsed for the first time i open with in the session i want to navigate to different views and the view should not collapse instead it should show the last selected document.
Once if i close it and reopen a new session then it should show in collapsed.
I tested "on Open" Goto top record", and Refresh "Display indicator"
It opens the view with the last viewed by user and my selection is in the first category and if i goto other view and come back then it shows me the fully categorized view.
I think this selection affects only on the first view that i open.
If i have same option for other view it's not refreshing just displays the last viewed document.
Anyhow thanks for your reply :) also if you have any other options it would be of great help to me.