Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement