Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate statement with logical operators
Message
De
23/07/2000 15:23:15
 
 
À
23/07/2000 15:16:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00395998
Message ID:
00395999
Vues:
8
>hi guys!
>
>
>i tried using logical operators in a "locate" statement but it just identifes the first part of the statement.
>
>are logical operators usable in "locate" statements? if not are there alternatives?
>

Yep; AND/OR/NOT operate in the FOR clause as expected, eg:

LOCATE FOR (MyBoolFLd1 AND NOT MyBoolFld2) OR INLIST(MyCharFld1,'Value','Value2','Value3')
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform