Limiting Records Displayed to 100

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 22, 2012   (RSS)

By sidcam - December 21, 2012

My MLS has a requirement that no one online can ever have access to more than 100 of their records at a time.  How do I limit my list view page so it only finds the first 100 records at any point in time (regardless of if it's being searched on or not).

Most real estate sites by the arrows that jump pages will say, "Your search returned X records, only the first 100 are displayed," when it goes over 100.

Thanks in advance for the help.

Sid

By gkornbluth - December 22, 2012 - edited: December 22, 2012

Hi Sid,

Try 'limit'     => '100',

in your viewer's load records call

You can also set up separate 100 record pages with previous and next links.

Look at your code generator and you should see the options you need. Then just paste code into your viewer as required.

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php