Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting record into VFP from .NET
Message
From
11/08/2003 12:04:52
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00818676
Message ID:
00818948
Views:
18
Hi Dimitry,

In VFP, set the 'other' fields of the INSERTed table to allow NULL values. I noticed similar 'errors' when using SQLEXEC() as well.

HTH.

>When I execute a nonquery command (insert) from .NET to add a record to VFP db, .NET fails unless I specify _all_ fields. Otherwise, I get error "Field MYFIELD does not accept null values".
>This is, of course, different from inserting a record in VFP. Is there an option or some way to do it such that I only list some fields in the INSERT command?
>
>TIA.
ramil
~~ learning to stand still
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform