"&Count=(number)" - in a URL

I have a custom search form in a web app, which constructs a URL which then matches up documents whos fields contain certain values.

A typical search is returning over 100 results.

I have set the view to display 20 results per page.

I need to make the previous and next buttons at the bottom of the page, below the first 20 results, navigate forwards and backwards for web users.

I know I need to use &Count in the URL, but I am not sure how to get the URL from the browser (it is long and contains the users current search query) into notes and replace the &Count= value.

Here is a typical example of a constructed URL in my app:

http://(servername)/(foldername)/(databasename).nsf/vw_web_VisibleProperty?SearchView&Count=20&Query=NOT%20%5BPropFRRegion%5D%20CONTAINS%20COWLEY%20AND%20(%5BPropertyMainTypeLookup%5D%20CONTAINS%20Character%20Property%20OR%20Villa%20OR%20Apartment%20OR%20Commercial%20OR%20Land%20OR%20Village%20House%20OR%20Domain)

I need to automate it, so when a button is pressed, it will change the URL, by adding in &Count=20 and then incrementing/decreasing this number by 20, depending on whether the prev or next button is pressed, thus displaying the previous or next 20 results.

Please help!!!

Subject: “&Count=(number)” - in a URL

Use Javascript to create the URL dynamically, calculating the count value as you navigate the returned view.

Subject: RE: “&Count=(number)” - in a URL

OK, thanks,

I am learning notes development at the moment and do not know any Javascript.

Are there other ways of doing this? ? ? ?

Please help!!!

Matt.