Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF within Insert command
Message
De
21/11/2021 02:01:47
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
21/11/2021 01:44:46
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682738
Message ID:
01682748
Vues:
36
>ALLTRIM is used to often and on meaningless places. In fact, the statement
>
>..
> IIF(EMPTY(Sourcetable.fieldC), "No LIsting Provided", Sourcetable.fieldC);
>..
>
>would do, except Field_C is Varchar. Even then, most likely TRIM() will be enough.

Too verbose. I'd prefer
... evl(Sourcetable.fieldC, "No LIsting Provided")...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform