Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized View Question
Message
 
À
07/12/1999 23:42:41
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00300119
Message ID:
00300388
Vues:
21
When using the wildcard %, you need to use the Like operator. The = operator will not work.

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform