Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace !empty(alias.field) with len(alias.field)>0
Message
De
15/02/2016 13:57:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01631431
Message ID:
01631496
Vues:
58
>Hi,
>
>I need to create a function to replace the expression "!empty(mytable.myfield)" with "len(mytable.myfield)>0" (to make it work for SQL server).
>I played with SUBSTR and STRTRAN functions but can't seem to find a way to get around the fact that the "mytable.myfield" changes from one expression to another. So it has to be "generic."
>I would appreciate any suggestions
x="!empty(mytable.myfield)"
? STRTRAN(m.x,"!empty(","0<LEN(")
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform