Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OleDB provider forces non null fields
Message
 
 
To
12/05/2006 20:09:40
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01121568
Message ID:
01121581
Views:
15
>When using the OleDB provider to insert a record in a VFP table, is there a way to avoid all those messages where it complains about the fact that, if a field is not part of the INSERT, that it cannot be null?
>
>For now, I have to insert several fields in the INSERT command, just to put a value of 0 for numeric fields. I would like to avoid that.

If table is a part of DBC, you can set 0 as default for those fields.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform