Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Address fields
Message
De
30/08/2000 18:00:59
 
 
À
30/08/2000 16:20:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00410998
Message ID:
00411075
Vues:
12
>I have a table with address fields (split into 5 fields)
>I have a formula that looks something like this:
>
>IIF(addr_1=space(30),"",addr_1+", ")+IIF(addr_2=space(30),"",addr_2+", ")...
>
>which I have found to work on other occasions. However in this instance it seems to be failing, it is only displaying first lines of adresses, and in some instances, only the first few characters. Can anyone shed light on why this might be happening and suggest a way to stop it?
>
>Ta
>Sha

Use EMPTY() and ALLTRIM()
IIF(EMPTY(addr_1),"",ALLTRIM(addr_1)+", ")+...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform