Link to home
Start Free TrialLog in
Avatar of ToniA
ToniA

asked on

Collaps all in view

Hi,
How can I collaps all the documents in a view every time I reopen the view. Not only the first time I open a database.

Thanks
Avatar of sloeber
sloeber
Flag of Belgium image

Go the PostOpen event from the view and change LotusScript in Formula and write the followoing command @Command([ViewCollapseAll])

Greets,
Sloeber
Avatar of ToniA
ToniA

ASKER

This I tried already.

It' will generate the Error : "Cannot execute the specified commnad"

Thanks
toniA
There is this view property "Collapse all when database is first opened" and then set OnOPEN to "Go to top row" and OnREFRESH to "Refresh Display"

~Hemanth
Avatar of ToniA

ASKER

~Hemanth

I tried this solution.
It didn't work.
When I was already in the view and opened a document it's showing this category still open.

Thank you.
ToniA
That will work only per session, meaning next time u come into the db it will collapse and show you !
Not when u switch the views, that is the max that you can get and it is a limtation due to indexing process
ASKER CERTIFIED SOLUTION
Avatar of Jean Marie Geeraerts
Jean Marie Geeraerts
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ToniA

ASKER

There is no possibility to do it on the view directly.
I redesigned the database. --->

I've greated a NAVIGATOR. On this navigator i do --->

@Command([ViewChange] ; "ViewName" );
@PostedCommand([ViewCollapseAll])

Thanks to all involved persons

ToniA