Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practice for concatenating with null character fields?
Message
De
08/03/2001 11:46:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Best practice for concatenating with null character fields?
Divers
Thread ID:
00483187
Message ID:
00483187
Vues:
53
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform