Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wildcards with variables
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00030102
Message ID:
00030333
Views:
44
>>>>I am trying to use wild cards infront and behind a variable in a select-sql statement. Apparently this does not work. Does anyone have any suggestions? Thanks for the help
>>>
>>>The '%' symbol works for this (it's a little finicky in macros, you have to get the quotes right).
>>
>>I guess that is my question. What is the right way to use the quotes?
>
>you can set variable before SQL, x = '%' + x + '%'
>then put the macro in quotes, like '&x'
>that's one way...

thanks!
Bob Sides
SDGS
Vermillion, SD
Previous
Reply
Map
View

Click here to load this message in the networking platform