> Hey I am a newbie here and am having abit of troubles ... i am trying to
> link together a brief results page to a full details page.  i am able to
> create the link, but when I click on it, it always brings me to the same
> record ... here is my source:

> <a
> href="matdetails.cfm?searchResults.RecordId=#URLEncodedFormat(searchResult
> s.
> RecordID)#">#searchResults.Title#</a>

> .. no matter when I click on it I always get record one ... any
> suggestions
> would be appreciated.

In all likelyhood, you're missing the query attribute in your cfoutput or
cfloop tag, i.e.

<cfoutput query="searchResults">

just as an FYI, if you know that the searchResults.recordid is a numeric
value ( which it usually is, since most of those turn out to be
auto-incremented numbers ) you don't need to specify urlencodedformat()
around the value. Hope that saves you some typing. :)


Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to