Problem on SearchView

Hi,

I’ve got a problem with a search view !!!

I create a view name (search) with contains all my documents

In a mask i create :

  • a search text box name (texttosearch)

  • a field $$return with the follow formula :

db := @Subset(@DbName ; -1 ) ;

tmp := @Trim(texttosearch);

“[/” + db + “/Search?SearchView&Query=” + tmp + “&Start=1”+“&Count=20”+ “]”

My base is indexed but this first search doesn’t work.

It’s the search result page that appear with my string to search and with the search button but it tell me that there is no result.

But then, if i click on this search button it works.

Moreover, if i put this in my explorer directly : http://nww-gwapps.fr.nexans.com/france/is/ARs_dev.nsf/SearchView?SearchView&Query=xxxx

It works !!!

Have you got any idea ???

Why my first search doesn’t work ?

Thanks for advance

Subject: Problem on SearchView

Have you tried the suggestion I made here:

http://www-10.lotus.com/ldd/nd6forum.nsf/ShowMyTopicsAllFlatweb/71dcbe14a2dbb599852573760055c0e7?OpenDocument

in response to your ORIGINAL thread on this subject?

Subject: RE: Problem on SearchView

Sorry,

Yes i try that, but it does not work.

I create a new post because i’ve got new element on the subject.

Thanks for your interrest in my problem.

Subject: RE: Problem on SearchView

OK - no problem. But just look at it from my point of view, though. I spent the time to look at your issue and provide feedback. Often when people don’t reply, it means that the problem was solved (although I consider it lack of manners, but anyway…). However, then I see you post the identical subject in a new thread without having responded to my suggestion. I would recommend staying in the same thread so that you don’t get the same suggestions from others that you already received in the original thread and also as a courtesy to those who try to help.

Anyway, back to your problem.

So the URL is identical in all respects to the one that works when you manually enter it? What happens if you take the text that you manually enter in the location bar and use that as the $$return (without doing the formula), i.e.

@Return(“[http://nww-gwapps.fr.nexans.com/france/is/ARs_dev.nsf/SearchView?SearchView&Query=xxxx]”)

Subject: RE: Problem on SearchView

Hi Cesar,

It seems it works fine

Thank you very much

Subject: RE: Problem on SearchView

I’m not sure what was fixed, but anyway, I’m glad it’s working :slight_smile:

Subject: RE: Problem on SearchView

Let’s hope it stays like this …