<CFQUERY DATASOURCE="#dbase#" NAME="TestQuery"> SELECT a.prodbrand_id, a.prodbrand_name, f.int_SubCategoryID, f.txt_SubCategory, r.int_ProductID, r.txt_ProductTitle FROM product_brands a, product_subcategories f, product_products r WHERE f.int_SubCategoryID = r.int_SubCategoryID AND a.prodbrand_id IN (SELECT prodbrand_id From product_brands WHERE a.prodbrand_id = f.prodbrand_id) ORDER BY r.txt_ProductTitle, f.txt_SubCategory, a.prodbrand_name </CFQUERY> <CFFORM> <CF_ThreeSelectsRelated Query="TestQuery" Display1="prodbrand_name" Display2="txt_SubCategory" Display3="txt_ProductTitle" Value1="prodbrand_id" Value2="int_SubCategoryID" Value3="int_ProductID" EmptyText1="Pick Brand"> </CFFORM>
http://www.ezcomonli...electsTest.cfm.
I need help urgently.

New Topic/Question
Reply



MultiQuote




|