THAT WORKED!! I GOT IT!! YESSSSS!! Thanks Ade!! 

No, I was mistaken in my thinking on what you were saying. For some reason I 
was thinking two queries and combining them. 

Here's my final query and here's where you can see it working. Search for 
"test".  http://209.200.88.199/

SELECT tblprodmodelcodes.prodmodelcode, 
tblprodmodelcodes.prodmodeltitle,tblprodmodelcodes.prodcategory,
tblprodmodelcodes.prodsellprice,
(SELECT TOP 1 imagename
  FROM tblproductimages WHERE tblproductimages.prodmodelcode = 
tblprodmodelcodes.prodmodelcode
  ) 'ImageName' 
FROM tblprodmodelcodes
WHERE tblprodmodelcodes.prodmodeltitle LIKE '%#FORM.search#%'
OR tblprodmodelcodes.prodmodeldescription LIKE '%#FORM.search#%'
GROUP BY tblprodmodelcodes.prodmodelcode, 
tblprodmodelcodes.prodmodeltitle,tblprodmodelcodes.prodcategory,
tblprodmodelcodes.prodsellprice

Thanks so much!

Will <--CF guy - not a .NET guy 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191471
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to