If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Returning text as a Parameter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-18-03, 16:36
skan skan is offline
Registered User
 
Join Date: Jul 2003
Posts: 17
Red face Returning text as a Parameter

The question is how to return the text that I want from my parameter? Means I want to look for a certain word in the name of a company and the query will run the companies' name that contain that word.

I don't want to specify the word in my SQL statement I want to leave it open. I've done it with a date and the criteria for the parameter is:
Like [Date:].

In SQL it's translated like this:
WHERE Table.OrderDate = [Date:]
And I will enter the date that I want. Is there a way to do it with text to return all the companies' names containing the word that I want on my parameter?

Thanks for the help
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On