insufficient key column information for updating or refreshing
- From: "Keith G Hicks" <krh@xxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 10:45:30 -0500
I have a TAdoDataset that uses a couple of MS SQL 2k views as the datasource
(inner joined). The views themselves are a bit complex. The final result
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. I am able to navigate the grid that displays the dataset
without any trouble. The grid is not editable of course because the data
source is too complex. There are a couple of instances on this form where I
need to refresh the dataset. When I do so I get "insufficient key column
information for updating or refreshing"
If I set the dataset to active = false and turn it on again that works fine
but I really don't want to do that. I just need to refresh it so that a
couple of the columns are updated with new numbers. What can I do to get
refresh to work? Is there a way to use TBetterAdo here that would solve my
problem?
Thanks,
Keith
.
- Follow-Ups:
- Re: insufficient key column information for updating or refreshing
- From: Brian Bushay TeamB
- Re: insufficient key column information for updating or refreshing
- From: Helmut Woess
- Re: insufficient key column information for updating or refreshing
- Prev by Date: Re: TADOConnection BeforeCommit event? (Oracle).
- Next by Date: Re: insufficient key column information for updating or refreshing
- Previous by thread: What makes a delphi Database Application Multi-User??
- Next by thread: Re: insufficient key column information for updating or refreshing
- Index(es):
Relevant Pages
|