Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It isn't logical
Message
From
23/10/2001 14:13:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00572155
Message ID:
00572203
Views:
30
>>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)
I don't know what I was thinking when I suggested empty(). But isblank() should work (but it does not).

For example, if I go to an individual record and say:

? isblank(lField)

I get the expected result. If I put it in a query, I get unexpected results.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform