Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using parentheses in view designer
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00524388
Message ID:
00524421
Views:
13
Sorry. I am blind today. I read your greater than sign as equal sign.

>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform