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:
00524413
Vues:
15
You could put
"(Empmaster.termdate =CTOD("") OR Empmaster.termdate > DATE())" in the expression field and set the Criteria to "=" and Example to ".T.". We found that you can't input a "." as the first character in the Example field but you can enter any other character first and then go back and delete the first character after inputing the ".T.". I don't think this is an optimizable expression.

HTH,
Dan

>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 (Empmaster.termdate =CTOD("") OR Empmaster.termdate > DATE())
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform