Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
It isn't logical
Message
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:
00572303
Vues:
29
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform