Hi All,
The DB search is taking too much time. I am creating a string and using the same to find the documents in another database. The search is taking too much time. I am using below code for doing the search.
Set colPVDoc = dbPV.Search(strKey$ ,dtSearch,0)
The above line of code is taking too much time for getting the documents. The strKey$ value is something like this:
strKey$ = “(Form = {PkgSpecSub} ) & (Type ={Flex})& (SalesClass ={009})& (compOzWt = {7.5000})& (Flavor ={Blue Corn})& (Shape ={Astroids})”
dtSearch is define as
Dim dtSearch As New notesdatetime(“01/01/1900”)
Any idea what I am doing wrong or any other method which can give the result fast.
Thanks so much in advance
L T