Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It isn't logical
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00572155
Message ID:
00572303
Views:
28
>>>Hello UT,
>>>
>>>select * from ster where SubStr(sunum,1,1) = "E" .AND. eclrhse == .F.
>>>
>>>returns cursor containing "unknown" or "unmarked" records as well.
>>>(logical not known yet)
>>>How may I return only records containing marked-logical-False?
>>
>>Try:
>>SELECT *;
>>  FROM Ster;
>>  WHERE LEFT(sunnum, 1) = "E" AND;
>>    NOT eclrhse AND NOT ISBLANK(eclrhse)
>
> Thanx George - tried it, but same result

Well, I think I've got a solution. At least in works in testing. Add the following as an index tag:
INDEX ON ISBLANK(eclrhse) TAG Blankrecs ADDITIVE
Then execute the query above. I think you'll get the results you want.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform