Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using parentheses in view designer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00524388
Message ID:
00524418
Vues:
11
>Is it possible to use parentheses in the local view designer? I have a WHERE clause that reads:
>
>WHERE Empmaster.deptcd == ?cDept AND Empmaster.termdate =CTOD("") OR Empmaster.termdate > DATE()
>
>I need it to read:

WHERE Empmaster.deptcd == ?cDept AND INLIST(Empmaster.termdate, {}, DATE())

or

WHERE Empmaster.deptcd == ?cDept AND Empmaster.termdate IN ( {}, DATE() )

The {} means empty date
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform