Re: Cannot insert or update columns from multiple tables (post #2) Need help please
- From: "Christian Dubois" <cdubois@xxxxxxxxxxx>
- Date: Tue, 30 May 2006 11:47:12 -0400
1. I got exactly the same error message even if I remove "With
View_Metadata".
2. I cannot use a client-side cursor because the original tables has more
than 900 000 rows.
3. I cannot use a TADOCommand because I don't want to execute a specific
query, I want to Edit a dataset, allow user to change fields, and then post
the record.
I still don't understand why is it working with an ODBC driver and not with
an OLE DB driver. Microsoft advise me that is it a client app issue (not
SQL Server).
I really need to solve this issue, any help would be appreciate.
Christian Dubois
"Vitali Kalinin" <vitkalinin@xxxxxxxxx> wrote in message
news:447c53b7$1@xxxxxxxxxxxxxxxxxxxxxxxxx
This is from BOL:
VIEW_METADATA
Specifies that SQL Server will return to the DBLIB, ODBC, and OLE DB APIs
the metadata information about the view, instead of the base table or
tables, when browse-mode metadata is being requested for a query that
references the view. Browse-mode metadata is additional metadata returned
by SQL Server to the client-side DB-LIB, ODBC, and OLE DB APIs, which
allow the client-side APIs to implement updatable client-side cursors.
Browse-mode meta data includes information about the base table that the
columns in the result set belong to.
As you see it states that it will work for the client-side cursors only,
but not for the server-side one.
If you really just want to update some record/records through a View then
you could switch to TADOCommand with appropriate commandtext assigned to
appropriate update statement. Can you explain what you are trying to
accomplish and why you can't use client side cursors?
.
- Follow-Ups:
- Re: Cannot insert or update columns from multiple tables (post #2) Need help please
- From: Vitali Kalinin
- Re: Cannot insert or update columns from multiple tables (post #2) Need help please
- References:
- Cannot insert or update columns from multiple tables (post #2) Need help please
- From: Christian Dubois
- Re: Cannot insert or update columns from multiple tables (post #2) Need help please
- From: Vitali Kalinin
- Cannot insert or update columns from multiple tables (post #2) Need help please
- Prev by Date: Re: ADO in D7
- Next by Date: Re: ADO in D7
- Previous by thread: Re: Cannot insert or update columns from multiple tables (post #2) Need help please
- Next by thread: Re: Cannot insert or update columns from multiple tables (post #2) Need help please
- Index(es):
Relevant Pages
|