Search results showing 9 records not 10

Support, Tips and Mods for Matt Navarre's SearchResults technique.
Posts: 135
Joined: Fri Sep 28, 2007 3:09 pm
Location: UK
PostPosted: Fri Dec 04, 2009 8:44 am
Whilst integrating fmSearchResults, I couldnt help noticing that it stated

"Results 1 to 10 of 299" (when searching tra in the demo file)

However, only shows 9 records.

This led me to beleive the 10th record was actually the line showing
.. and 289 more companies

As a test, in the script for Create Result Lines I added the following

Code: Select all

// JUST AFTER THE FREEZE WINDOW STEP

If [GetAsNumber ($fc) > GetAsNumber ($$sr Result Limit)]
  Set Variable [$record counter ; Value: $record counter -1]
End If

// BEFORE THE START OF THE LOOP


The results now correctly show 10 items along with the '..and more link.'

I dont know if this was the best way of doing it, since im just getting started but, it worked for me.

P.S I couldnt beleive how easy it was to integrate, within 30 minutes of purchase I had already integrated and customised the results layout enough to suite my solution.

To say im impressed is an understatement

Return to fmSearchResults

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: