Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter to not empty()
Message
De
02/01/2014 12:40:50
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01591204
Message ID:
01591258
Vues:
70
>Hi
>
>I would like to set filter to a not empty condition
>
>Something like: Set filter to not empty(myfield).
>
>But it does not work because this is not the correct syntax.
>
>Is thre anyway to achieve it or set filter is not the solution ?
>
>I tried Set filter to not myfield # "", but it is not the same.
>
>
>Happy New Year to everybody.
>
>Moises

Sergey pointed out a slip.

lcSpaces=chr(34)+space(len(myfield))+chr(34)
SET FILTER TO UPPER(myfield) # &lcSpaces.

assuming an INDEX ON UPPER(myfield)....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform