Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql column not wide enough.
Message
De
17/11/1998 15:23:29
 
 
À
17/11/1998 15:20:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00158450
Message ID:
00158473
Vues:
23
Hiya Ed ----

>>SELECT IIF(condition=.T.,PADL(ALLT(field),2),"ZZ") AS newfield.
>
>SELECT IIF(INLIST(cUserSecurityLevel,"A","B","C"),cUserSecurityLevel+SPACE(1),"ZZ")

But doesn't this assume that you know the length of the TRIMmed value of cUserSecurityLevel?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform