Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I use the NULL keyword in a SELECT statement?
Message
From
22/11/2000 17:44:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00444703
Message ID:
00444811
Views:
8
>>my code is.
>>select get_percent(my_fld) as my_percent
>>
>>I am getting an error message saying..MY_PERCENT DOES NOT ACCEPT NULL VALUES.
>>I want my_percent to accept null values and need to know how to
>>code the SELECT to include the NULL keyword..any ideas?
>
>Hi Robert,
>
>Could you please show more code to help you with this problem. Meanwhile, take a look into nvl() function in Help.
--------------
Hi Nadya and Happy Thanksgiving,
I fix the problem...I had to test the fld value...my code
if isnull(myfld)
myfld = 0
endif
that did it.........:))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform