Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field does not accept null values
Message
From
26/02/1998 12:05:49
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00081366
Message ID:
00081426
Views:
24
>I have just created a simple table and accessed it via ODBC and a remote view - it worked fine! - How have you set the remote view up and how are you adding records? (Insert, Browse etc)
>
>There must be a solution!!
>
>Ian

I haven't been following the whole thread but here's my two cents:

If the update is being done through the view and the problem column is not in the view than the VFP ODBC driver has to decide what value to put into the column. It seems to have it's mind made up that it wants to insert a NULL. But the column is not defined with to accept NULLs. An easy solution would be to define a DEFAULT on the problem column.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform