Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Mo*1 #1
make record go over different pages
Im trying to build a website with asp.
ive got an extra long record that i would like to spread accross different
pages as i have limited space.
i want to show only a certain amount of text on each page which im using crop
sentence function.
but what im not sure about is how to continue the recordset on a new page from
where it stopped the last page
any one help?
Mo*1 Guest
-
Make new pages or only edit pages?
A client asked me to update his site, adding a new link to all pages and adding several new pages. He told me that the original developer of the... -
How can I make display weekly record?
Thank you, its working fine -
How can I make display weekly record?
Thank you MeTin I make table with 3 fields 1-ID 2-last Day 3-Info After that I did what you tell me for SQL and info field it's added in the ASP... -
How can I make display weekly record?
Any response please? -
How do I navigate to First and Last record in a Dtagrid having many Pages.
Hello All, How do I navigate through first and last record in a datagrid. I know we have only Previous and Next option in it . Can I add First and... -
David Powers #2
Re: make record go over different pages
Mo*1 wrote:
Insert > Application Objects > Recordset Paging.> but what im not sure about is how to continue the recordset on a new page from
> where it stopped the last page
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest
-
Bren #3
Re: make record go over different pages
Hi Mo
Two ways that should work
1. Create several pages for the record and select the same record each time
but only show the recordset items you want to show on each page. i.e.
page1.asp > Display Recordset items 1, 2, 3, 4.
Then have a link that goes to page2.asp?recordidforfiltering=xxxx
page2.asp > Dispaly recordset items 5, 6, 7, 8. Add link to page3 etc etc.
2. Use one page and post back to that page each time but set up regions on
your page and only show the regions you want for each page view. i.e.
page1.asp?viewnumber=1
If Request("viewnumber") = 1 Then
Show region 1. with a link back to page1.asp something like
<a href="page1.asp?viewnumber=2">View More</a>
End If
If Request("viewnumber") = 2 Then
Show region 2. with a link back to page1.asp something like
<a href="page1.asp?viewnumber=3">View More</a>
End If
If Request("viewnumber") = 3 Then
Show region 3. with a link back to page1.asp something like
<a href="page1.asp?viewnumber=4">View More</a>
End If
And so on until you have finished displaying your record.
A Select Case statement would probably be faster than the IF statement, ut
thats down to preference I guess.
Hope this helps.
Regards
Bren
/*************************************
Why do I climb mountains? Because they are there.
[url]www.3peakschallenge.co.uk[/url]
*************************************/
Bren Guest



Reply With Quote

