×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

like query

like query

like query

(OP)
i'm trying to execute a like query in asp script, but i get an error.
the error is
Item cannot be found in the collection corresponding to the requested name or ordinal
the fields names are right, becase i run the same query with another conditions,
i want to get the records that has the char 3. i do like '%3%' and it gives the error, if i do like '3' it's ok, but it's not what i want.
what is the exact syntax for that?

http://e.3arabiyat.net - sportcars
http://www.brinji.com - Free Banners System
http://byramix.blogspot.com - Programmig issues
http://www.10-pr.com - free web directory

RE: like query

What's the exact SQL statement being issued and where does the error actually occur?
As far as the LIKE statement, the "%" is the wildcard character.  I would suggest running the query in the Pervasive Control Center to make sure that the syntax is working correctly then make sure the error isn't in the ASP portion.  

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close