If this 'feature' item is a form variable then:

<cfquery name="GetDetail" datasource="#odbc#">
SELECT * FROM Items WHERE ItemID='#form.featureItem#'
</cfquery>

if it is a hyperlink then:

<cfquery name="GetDetail" datasource="#odbc#">
SELECT * FROM Items WHERE ItemID='#url.featureItem#'
</cfquery>

-----Original Message-----
From: Chip Sigourney [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 8:38 AM
To: [EMAIL PROTECTED]
Subject: cf query


<cfquery name="GetDetail" datasource="#odbc#">
SELECT * FROM Items WHERE ItemID='LA-BV912XL'
</cfquery>


How can i make this not a fixed ItemId, but make it a rondom selection based
on which floor (sub1 category)that they choose, this is a 'feature' item on
the sub1 page

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to