Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keeping NULL out of a view
Message
From
16/09/1997 22:52:29
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
12/09/1997 15:36:56
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00049897
Message ID:
00050338
Views:
47
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform