larine Posted August 23, 2007 Posted August 23, 2007 Hello, On my "Search results" layout, I would like to be able to display the search string in the following way: Displaying # of # results for "search string" I show 25 results per page. At the moment I don't know how to put the "# of #" part in nor know how to put the search string on my layout. Any ideas? Thanks!
Vaughan Posted August 27, 2007 Posted August 27, 2007 Create an unstored calculation field, with the following function: "Displaying " & Get (recordnumber) & " of " & Get( foundcount ) & " results for search string" Getting the search string is the hard part. How hard depends on how many fields the user can search in. The solution involves having the search criteria entered into a global field, and dsiplaying the contents of the global field.
larine Posted August 27, 2007 Author Posted August 27, 2007 Thanks very much for the help with the results field. Because the layout displays 25 results at a time (with a button to show the next 25 results) would there be a way to say "displaying results 1-25 of 60 results"..and then after clicking the Next button saying "displaying 26-50 of 60 results" or something like this?
Fenton Posted August 27, 2007 Posted August 27, 2007 How are you showing 25 per "page" on a layout? What mechanism? Browse mode or Preview mode?
Vaughan Posted August 27, 2007 Posted August 27, 2007 This just occurred to be too, Fenton. My bet is it's through IWP or CWP.
larine Posted August 30, 2007 Author Posted August 30, 2007 I'm showing 25 per page in browse mode in IWP.
Recommended Posts
This topic is 6294 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now