Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 27th, 2005, 01:22 AM
Friend of Wrox
Join Date: May 2005
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan
Default rs.movenext problem

Hello all
i have a form that sends some values to another page and that values make filters for recordset and after that a table with the filtered recordset will be shown.the problem is:
table would haave about 1200 rows in som cases and i don't want to show all rows in a page(because of losing the spped of loading the page)i put rs.movenext and rs.movelast and rs.moveprevious... for my page and set the repeat region to show 50 records in each page butwhen we want to move to another page it doesn't show anything(because it hasn't any valu for filterin the recordset)how can i send filter values to next page too???would some one help me pleas
thank you

Old October 27th, 2005, 10:13 AM
Authorized User
Join Date: Jan 2005
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts

Hello hastikeyvan.

If you have "Beginning Dreamweaver MX 2004" (Wrox Publisher, from Brown, Spaanjaars and Marks) please look from page 452 on. It solves your problem quite well, without hand-coding.

If you don´t have it (pitty, a really great book!) , I will give you the steps I learned (and used successfully) from there:

01) In Code View, position the cursor between the closing tag of the repeat-region-block and the closing table tag (still inside the HTML table).

02) Type <tr><td>Previous</td></tr> to insert a new table row below the repeat region

03) Switch to Design view, split the cell in 2 columns (Table > Split Cell) and in the cell just added, type Next

04) Highlight the word "Next" and open the Server Behaviors panel. Click "+" and choose "Recordset Paging > Move to Next Record" and then "Ok" after choosing the "Selection Next" Option and the recordset involved.

05) Repeat the above to the "Previous" word going to "Move to Previous Record" instead, for sure.

I hope it solves the problem.

Similar Threads
Thread Thread Starter Forum Replies Last Post
rs.MoveNext loops the page myhomor ASP.NET 1.0 and 1.1 Basics 2 January 14th, 2008 01:03 PM
movenext problem durier SQL Server ASP 4 January 27th, 2006 08:04 AM
rs.source problem hastikeyvan Classic ASP Basics 0 June 28th, 2005 11:49 PM
RS Manager and RS Server on 2 different computers Choose File BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 July 22nd, 2004 10:56 AM
Error msg on rs.MoveNext jeff_M Classic ASP Databases 4 August 13th, 2003 10:38 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.