Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null fields
Message
 
 
To
19/02/2006 17:52:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01097428
Message ID:
01097429
Views:
12
This message has been marked as the solution to the initial question of the thread.
SELECT CAST(MyCalc(field1, field2) as N(5) NULL) as calcfield ;
...
>
>I am getting a "... field does not accept null values" error on a SELECT statement. I am quite certain that the value of the field is null but dont understand why I am getting the error.
>
>
SET NULL ON
>SELECT CAST(MyCalc(field1, field2) as N(5)) as calcfield ;
>   FROM mytable ;
>   INTO CURSOR tTemp
>
>Can someone explain why my cursor wont accept null values and how I might get around the problem?
>
>Regards
>Geoff Scott
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform