Like Doug said, you can use the Cistom1 and Custom2 to pass along special
values when you index your information. You can also use the StartROw and
MaxRows attributes of the CFSearch tag to display a certain number of
records per page…

Say 10 per page….

<cfset MaxRowsPerPage = 10>

<cfparam name=”url.startrow” default=”1”>

<cfset NextStartRow = val(url.startrow) + #val(MaxRowsPerPage)#>

<CFSearch Name=”mysearch”

                  Colleciont=”MyCollection”

                  Type=”criteria”>

                  Maxrows=”#MaxRowsPerPage#”

                  StartRow=”#val(url.startrow)# “>

When you output your links to the next page, just make sure to add
?startrow=#val(NextStartRow)# to your query string

This is by no means tested, working code but hopefully you get the general
idea. You’ll have to add some checking to make sure you have enough records
to display “Next Page” links or whatever.

If you CFINDEX’d your collection passing your image ID, or name via Custom1,
then each record will have #Custom1# with that value in it.

Hope this helps somehow.

   _____  

From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 12, 2004 11:25 AM
To: CF-Talk
Subject: Re: HELP with verity

look at using teh custom1 and custom2 attributes of the cfindex tag.
You can associate custom fields to datapoints this way.  Show us your
cfindex code and maybe we can suggest how.  Are you indexing a query
or files?

Doug

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.759 / Virus Database: 508 - Release Date: 9/9/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.759 / Virus Database: 508 - Release Date: 9/9/2004
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to