Hi
Please suggest me about FTsearch.
Below is the code written in agent:…
Call db.UpdateFTIndex( False )
j = view.FTSearch(ecode, 0 )
Set nav=view.CreateViewNav()
Set entry = nav.GetFirstdocument
Forall colval In entry.ColumnValues
lists( counter )=entry.ColumnValues( 10 ) Print lists( counter )
Set entry = nav.GetNextDocument( entry )
counter = counter + 1
End Forall
Problem : If the search result count is only one that means j=1 then again it prints all the documents in the views rather than it has to print on that search document.
Please suggest where is the problem…
Thanks
Subject: FTSearch
Hi,
I’m not sure, because I didn’t test it, but I think that using a view navigator and a view.ftsearch isn’t a functionnal combination. In my opinion those two operations are independant.
In the documentation, they clearly state that after doing the view.ftsearch, you can use the regular NotesView methods. They never mention the NotesViewNavigator…
Hope this helps,
Kristof
Subject: RE: FTSearch
Thanks for replying but is there any solution for that.
Actually I m searching the document on the basis of employee code that is a key value. So i need to print only those documents of a particular employee who is accessing the application.