954,123 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need help with ColdFusion multipages

Hello, I’m a jr. CF programmer trying to figure out how to create sets of multipages. What I want to do is create page sets of 10 and have an arrow link, which would jump you to the next 10 pages. The page selected would be the first number of the set, for example you have pages 1-10 then click the arrow and go to set 11-20. The page selected would be 11. I have no idea how to even attempt this task. Any input and/or suggestions would be more than appreciated. Thanks -Rebekah

rharp
Newbie Poster
4 posts since Jul 2004
Reputation Points: 10
Solved Threads: 0
 
skyhawk133
Light Poster
26 posts since Jan 2005
Reputation Points: 10
Solved Threads: 0
 

Here's one way (from CFMX manual, pages 468-469):

SELECT link, link_ID FROM your_table #GetLinks.currentRow# --- #link#
CFIF><br> <a href=Reset counter

(too easy, so I decided to fill it out - just copy & paste; change MaxRows to output different number of records)

WrkrAnt
Newbie Poster
3 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

hi,
did you ever figure this one out or am i missing something in the posts below? as far as i can tell the replies u hd were pretty useless?
any ideas MUCH appreciated....
cheers
jon

Hello, I’m a jr. CF programmer trying to figure out how to create sets of multipages. What I want to do is create page sets of 10 and have an arrow link, which would jump you to the next 10 pages. The page selected would be the first number of the set, for example you have pages 1-10 then click the arrow and go to set 11-20. The page selected would be 11. I have no idea how to even attempt this task. Any input and/or suggestions would be more than appreciated. Thanks -Rebekah
mr mouth
Newbie Poster
1 post since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

Help! I want to learn the basics about CF. Please, give me some websites!

michael zap
Newbie Poster
1 post since Feb 2006
Reputation Points: 10
Solved Threads: 0
 

website links for coldfusion:

macromedia.com
easycfm.com
cffaq.com
coldfusiontutorials.com
webmonkey.com

but for me the macromedia site has always been the best reference

anuradhu
Light Poster
29 posts since Apr 2006
Reputation Points: 12
Solved Threads: 2
 

www.communitymx.com is another great site to help with all macromedia products.

Take care,

Walyer

Walyer's Playpen

Walyer
Light Poster
28 posts since Apr 2005
Reputation Points: 10
Solved Threads: 1
 
Try this piece of code, it's old but it works: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=14&lngWId=9

I tried adapting this piece of code to use on my guestbook to show X number of records per page, and produce a previous/next link, but it does absolutely nothing. I have tried numerous pieces of code to achieve this, but so far, nothing works. Any advice is definitely appreciated. :)

lightningrod66
Newbie Poster
19 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You