Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping NULL out of a view
Message
De
16/09/1997 22:52:29
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
12/09/1997 15:36:56
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00049897
Message ID:
00050338
Vues:
52
>>Try...
>>SET NULLDISPLAY TO ""
>>//:^)
>>>Hi Elyse!
>>>
>>>select *, iif(isnull(yourstr),'',yourstr)
>>> from ....
>>>into ffff
>>>
>>>>Is there any way to prevent NULL values in a local view? I need the
>>>>character fields to have empty strings if they are empty.
>>>>
>>>>Thanks
>>>>Elyse
>
>NULLDISPLAY works for how it appears, but it doesn't change the type of data. I need to string the values of the fields together and come up with a valid character string.
>
>Elyse
How about setting the "Allow Nulls" setting off on the table definition screen for the database. This way you should not get any null values in the tables in the first place.
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform