>Hello everyone,
>
>MS SQL server. I have a table (MyTable) that has an ID field (MyId), and some other fields of course. I have created an updateable view of this table with the view designer in vfp8. I update the view, and try to tableupdate, but I get an error, something like:
>"Connectivity error: Cannot insert the value NULL into column MYID, table MYTABLE; column does not allow nulls."
>It wants me to revert the table. How do I update this table? Thanks a lot!
>
>jfh
Sounds like it doesn't have a default value on MS SQL side and in view designer is not marked as updatable.
Either have a default value defined on SQL server side or populate at VFP side and mark as updatable (check the one with a mark under keyfield).
From its name it looks like it's the key field. If so a surrogate autogenerated key (ie: a uniqueidentifier type) would be good.
Cetin