>..I know evaluate police are around the corner
Yeah I have found myself cuffed on more than one occation by them dasterdly evaluate(cops) Doug ----- Original Message ----- From: "David DiPietro" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 10:52 AM Subject: RE: 10 records per page > <cfquery name='stats'...> > </cfquery> > <cfset MR = #stats.recordcount#> > <cfform name='Next' action="ThisPage.cfm"> > > <cfset SR = #form.StRow#+10> > <cfif SR gt MR> > <cfset SR = #MR#-10> > </cfif> > <input type='hidden' name='StRow' value="#SR#"> > </cfform> > > -- something similar for last > > <cfoutput query='Stats' startrow="#form.StRow#" maxrows="10"> > <Output> > </cfoutput> > <a href="javascript:document.Next.submit()"><font face="arial" > size="3">Next</font></a><br> > > ..I know evaluate police are around the corner > > If you're looking for printing > <STYLE TYPE="text/css"> > P > { > COLOR: black; > FONT-FAMILY: Arial, Tahoma, Helvetica; > FONT-SIZE: 12pt; > FONT-STYLE: normal; > FONT-WEIGHT: normal > } > P.breakhere {page-break-before: always} > </STYLE> > > with > <cfoutput query='Stats'> > <Output> > <cfif some multiple of 10 code> > <P CLASS="breakhere"> > </cfif> > </cfoutput> > > David DiPietro > Systems Developer / Engineer > OSU College of Medicine & Public Health > Voice (614) 292-5960 > Fax (614) 292-0745 > > > -----Original Message----- > From: Carlisle, Eric [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 1:30 PM > To: CF-Talk > Subject: RE: 10 records per page > > > Also... > > Ultradev has some utilities built in for creating "next page, last page" > functionality for ColdFusion. > > I don't use Ultradev, but that's another option. > > Eric > > -----Original Message----- > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 1:10 PM > To: CF-Talk > Subject: Re: 10 records per page > > > You can download one from our site http://www.quilldesign.com/qdnext > > Or go to http://devex.macromedia.com/developer and do a search for next or > previous and there are a number of them in there too! > > Good Luck > > Paul Giesenhagen > QuillDesign > http://www.quilldesign.com > SiteDirect Commerce Builder > > > I've got one... you want it? > > > > +-----------------------------------------------+ > > Bryan Love > > Macromedia Certified Professional > > Internet Application Developer > > Database Analyst > > Telecommunication Systems > > [EMAIL PROTECTED] > > +-----------------------------------------------+ > > > > "...'If there must be trouble, let it be in my day, that my child may have > > peace'..." > > - Thomas Paine, The American Crisis > > > > > > > > -----Original Message----- > > From: Will Swain [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, May 02, 2002 6:46 AM > > To: CF-Talk > > Subject: 10 records per page > > > > > > brain spasm going on here.... > > > > isn't there a custom tag for limiting the number of records outputted per > > page to 10 or whatever? > > > > can't remember the name..... > > > > cheers > > > > Will > > > > > > > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists