qwaletee:
thank you...sorry i was dragged away from this...i will try your provided formula/tips and help topics and will let you know.
Main Topics
Browse All TopicsHi there,
i) i have a search form "$$SearchWorkInProgress" for a single database search over the web = input form
ii) and a search result form "$$SearchTemplate for ForSearchAllDoc" = result page /output form
in my input form i have diff fields (say plant, cust, report type) and also have the general search form fields such as Max Results, word variants, sort, fuzzy search. Along with that i have hidden fields (BuildQuery, SaveOptions, $$Return) and "click to Search" button with the following value in client Formula for "click to Search" button.
@Command([FileSave]);
@Command([FileCloseWindow]
i'm opening this form using http://xxxxx/xx/xxxxx.nsf/
so far so good...it is working fine like it is displaying the search results according to the selected parameters.
Now i like to add the following in my result page/output page...and at this point i donot know how, need your help:
a) first only like to display top 15 results on the result page/output form .
b) it should display at the top of the result page ..."Total Number of hits/document found = xxxxx"
c) it should display at the top of the result page ..."you have searched for = xxxxx = i think i need to Concatenate the values of the user selected fields from input form"
d) i have also added two images for "NEXT" and "PREV" on the result form/output page, now want to make then active/hotspot so that when user click on them it should display the next set of results.
e) if no match/ no documents found according to the query parameters then it should display on the result page/output page "No document found"...and same for the "NEXT" and "PREV" images like if there is no other result set to display then it should say No more docs available according to your search.
Using Domino designer 7 and ie 6 please let me know...thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: qwaleteePosted on 2008-04-07 at 10:56:05ID: 21299084
The original query is in a field named QUERY on th eresults form. The # items found is in a field named COUNT. For your "paed" results, see help topic, "Using Next and Previous buttons or hotspots with Start and Count parameters:"
chOrder) +"&SearchWV="+@If(SearchVw = 0;"FALSE";"TRUE")+"&Search Thesaurus= "+@If(Sear chThesauru s = 0;"FALSE";"TRUE") + "&SearchMax=" + @Text(SearchMax)); "") chOrder) +"&SearchWV="+@If(SearchVw = 0;"FALSE";"TRUE")+"&Search Thesaurus= "+@If(Sear chThesauru s = 0;"FALSE";"TRUE") + "&SearchMax=" + @Text(SearchMax)); "")
If you are using Start and Count parameters you can include Next and Previous buttons or hotspots to enable users to navigate between pages of results. Both parameters must be used if you are using navigational buttons.
1. Open your customized results form and place buttons or hotspots labeled Next and Previous where you want them to appear on the form.
2. For the button or hotpsot labeled Next, write a formula that will advance the user forward one page.
3. For the button or hotspot labeled Previous, write a formula that will take the user back one page.
Example of a formula for a Next button or hotspot
@If(Hits >= Count; @URLOpen("/" + @Subset(@DbName; -1) + "/" + SearchView + "?SearchView&Query=" + @ReplaceSubstring(Query; " "; "+") + "&Start=" + @Text(Start+Hits) + "&Count=" + @Text(Count) + "&SearchOrder="+@Text(Sear
Example of a formula for a Previous button or hotspot
@If(Start > Count; @URLOpen("/" + @Subset(@DbName; -1) + "/" +SearchView + "?SearchView&Query=" + @ReplaceSubstring(Query; " "; "+") + "&Start=" + @Text(Start-Count) + "&Count=" + @Text(Count) + "&SearchOrder="+@Text(Sear
Tip To avoid syntax errors, use @ReplaceSubstring(Query; "" ' "+") to replace all of the spaces in your query with plus signs (+).