Re: insufficient key column information for updating or refreshing
- From: Helmut Woess <user22@xxxxxxxx>
- Date: Mon, 30 Oct 2006 18:56:25 +0100
Am Mon, 30 Oct 2006 10:45:30 -0500 schrieb Keith G Hicks:
...The views themselves are a bit complex. The final resultYes, you know this, but why should TAdoDataSet know this?
returns columns that include the primary key of one of the base tables and
the rows that are returned are absolutley unique. There is no possibility of
duplication. ...
... What can I do to get refresh to work? Is there a way to use TBetterAdo here
that would solve my problem?
I am not sure if this helps, but try to build your view with option WITH
VIEW_METADATA, for example:
CREATE VIEW dbo.vwAllCustomers WITH VIEW_METADATA
AS SELECT * FROM dbo.Customers
And then if you use INSTEAD-OF-Triggers together with your view you can
even directly insert/update/delete data.
bye,
Helmut
.
- Follow-Ups:
- Re: insufficient key column information for updating or refreshing
- From: Keith G Hicks
- Re: insufficient key column information for updating or refreshing
- References:
- insufficient key column information for updating or refreshing
- From: Keith G Hicks
- insufficient key column information for updating or refreshing
- Prev by Date: insufficient key column information for updating or refreshing
- Next by Date: Re: insufficient key column information for updating or refreshing
- Previous by thread: insufficient key column information for updating or refreshing
- Next by thread: Re: insufficient key column information for updating or refreshing
- Index(es):