@Command([ViewShowOnlyUnread]) not working

Hi

put in the Postopen event in a view this command should show only documents not read by the user. Sometimes this seem to fail when opening the database and then all the documents are showing again.

This code is put in the first view shown when the DB opens. The DB is bookmarked as Homepage.

Hop you can help.

Subject: @Command([ViewShowOnlyUnread]) not working

“This command is a toggle. ; selecting it again displays all documents in the view or folder”.

Each time you open the view it toggles the unread document either on or off depending on its previous state.

You should put @command([viewShowOnlyUnread]) in the view Queryclose Event as well as the PostOpen.