Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
It isn't logical
Message
 
À
23/10/2001 14:13:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00572155
Message ID:
00572307
Vues:
26
>>>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.

Same here, but creating an index using the ISBLANK() function should return the expected results.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform