Search & sorting views

Hello Notes Friends,

when I sort my all documents view by date and then perform a search, why is the view not sorted anymore? All search result mails are random displayed. Is there a way to have/keep a sorted view after i do a search?

Thanks

Vanessa

Subject: You can keep the view’s order

Do a search in Designer Help for “Customizing search forms”. Look at the “SearchOrder” argument in the “Customizing search input forms” table.

Subject: Search & sorting views

Your All Documents View is a Collection of all the documents in your database. “When a collection is sorted, the documents are sorted by relevance score with the most-relevant document appearing first. A relevance score is a number assigned to each document that matches a particular full-text search query. The number is related to the number of matches that were found in the document.” I think you would have to do some pretty involved changes to your mail template using LotusScript FTSearch, IsSorted, NotesDocumentCollection and other methods and properites to try and achieve what you want.