Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Options for avoiding SET FILTER
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00325835
Message ID:
00325869
Views:
22
>>So the "$" operator should not be used in SQL? Also, then, it would appear that I have to take the text the user enters for SearchText and add the percent signs to the beginning and end of it before using that variable in the SQL statement?
>
>Correct.
>
>lcSearchText = '%' + alltrim(ThisForm.txtString.Value) + '%'
>
>Also use upper() if necessary.

Thanks Michael, Mark and Ed!
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Previous
Reply
Map
View

Click here to load this message in the networking platform