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:
00524451
Views:
13
>>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

That won't work Mark... he needs Empmaster.termdate > DATE()
Brien R. Givens

Brampwood Systems
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform