Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized View Question
Message
From
08/12/1999 16:48:12
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00300119
Message ID:
00300625
Views:
21
>When using the wildcard %, you need to use the Like operator. The = operator will not work.

John,

I am using the LIKE operator. Look more closely at my post.

>>Hi Mark,
>>
>>In yor SQL-SELECT statement, you could set up the WHERE clause like this:
>>
>>WHERE table.category LIKE ?lcCategory
>>
>>Then when you want to include all categories do the following:
>>
>>lcCategory = '%'
>
>>I am assuming by your variable notation that lcCategory is a charactor data type.
>>
>>HTH
George Simon, MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform