Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter to not empty()
Message
De
04/01/2014 16:37:39
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
03/01/2014 16:42:03
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:
01591342
Vues:
103
>>I don't see how that applies. I advised him not to use empty at all. If there is a tab character in a field, I would not consider it empty.
>>
>Existing code is always correct at first approximation - the code you advised would change the biz logic of the existing program.
>Such changes should be mentioned when advising alternate coding.

I doubt that. Existing code is likely incorrect. The OP likely assumed empty = spaces and was likely completely unaware that tab = space as far as empty is concerned.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform