Connecting Tech Pros Worldwide Help | Site Map

wildcard search query

  #1  
Old June 7th, 2009, 10:40 AM
Familiar Sight
 
Join Date: Jul 2007
Location: United Kingdom
Posts: 202
Hi

i'm trying to search the value in my following field productDescc.
i don't know why it's not bring result giving me no error

Expand|Select|Wrap|Line Numbers
  1. select * FROM products WHERE (products.CatalogID='" & strCatalogID & "') AND (products.productDescc like '%" & styno & "%') ")
styno bring result.



  #2  
Old June 7th, 2009, 04:01 PM
Familiar Sight
 
Join Date: Jul 2007
Location: United Kingdom
Posts: 202

re: wildcard search query


have a look ths one might b u can help me same post in sql

like statment
  #3  
Old June 10th, 2009, 02:02 PM
jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Posts: 2,686

re: wildcard search query


print out the queries in both cases. I bet you will see that you have a simple typo.

Jared
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Query Problem Simon Gare answers 14 May 3rd, 2007 02:05 PM
Search Form Eddie Holder answers 1 September 29th, 2006 04:05 PM
How to use wildcard character in query? deko answers 2 November 13th, 2005 06:55 AM
How to use wildcard in SQL query? deko answers 1 November 13th, 2005 04:59 AM