Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I use the NULL keyword in a SELECT statement?
Message
De
22/11/2000 17:44:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00444703
Message ID:
00444811
Vues:
10
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform