Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Insert Value NULL IN Column
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Cannot Insert Value NULL IN Column
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01660168
Message ID:
01660168
Views:
71
To all,

Back again! From one issue to another but you're help has moved me forward.

I created a Table in SQL Server 2012 with a character field set to "Not NULL". NULLs have been giving me issues in searching. I get and error: 'Cannot Insert Value NULL IN Column field cSteinLoc. Column does not allow NULLs.' I checked to see what SET NULL is in VFP and it is OFF. It seems to be trying to Insert a NULL value into fields. Even when I use a default of ' ', it still inserts the NULL???

Does anyone know why this is happening and how I can prevent VFP from placing NULLs in empty fields when creating a new record?

Thanks,

Bill
Next
Reply
Map
View

Click here to load this message in the networking platform