Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practice for concatenating with null character fiel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00483187
Message ID:
00483195
Vues:
13
>If I was wanting to concatenate two character fields and one of them could potentially be empty, what code can I use for that? I have worked with this:
>
>allt(address1)+IIF(!empty(address2),address2,'')
>
>Is there any simpler code that you can use? That is quite simple itself, but If you have a long concatenation, your code gets quite long.
>
>Thanks.

NVL()
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform