>I first create a remote view from a table that resides on SQL Server 7.0 using the command 'CREATE SQL VIEW', then replace some of the fields within the view. So far so good, the fields in the view appear to have changed. Then I issue a TABLEUPDATE() and this is where the problems start. Modifying the view displays the fields with write properties, however the option 'SEND SQL UPDATES' is not enabled by default. I can find no way of setting this option, except when modifying the view manually.
>
>Please can someone help me get around this problem?
>
>Michelle
Like Josh said, the command you are looking for is DBSETPROP(). There are several things that need to be set to make a view updateable- it sounds like possible you have not specified a key field?
Anyway, if you are going to be creating and maintaining views in code (most of us do, I think), you really should look at the utility here in the files section called 'eView'. It makes setting these things a snap, and it also has the ability to generate the code that creates the view (like GenDBC, but so much more gracefully).
Erik Moore
Clientelligence