Hi there. I am using VB6 & ADO 2.6. Here's the problem...
Run-time error '-2147467259 (80004005)': Insufficient key column information
for updating or refreshing.
Sound familiar? Knowledge Base Article Q246905. I've read it, too, and
almost understood. Anyway, here's my setup (Simalar to VisData readout):
--Table1
|--Fields
|--UID
|--Name
|--Quality
|--And so on...
|--Indexes
|--Id Number One (UID, Primary)
--Table2
|--Fields
|--UID
|--Tag
|--And so on...
|--Indexes
|--Id Number Two (UID, Primary)
I use this:
SELECT Table1.UID, Table2.Tag, Table1.Name, Table1.Quality FROM Table1
INNER JOIN Table2 ON Table1.UID = Table2.UID
or
SELECT Table1.UID, Table2.Tag, Table1.Name, Table1.Quality FROM Table1,
Table2 WHERE Table1.UID = Table2.UID
In both cases, when I try to update Table2.Tag I get that error. Now, I've
tried
renaming Table2.UID to Table2.UID2, no effect. I have no idea why it doesn't
work. Additional information is available if you want. Please help.
Thank you in advance.
Bewildered,
-Luke Abbott
P.S. - Sorry for posting twice, but I feared no one would answer my
'answered' post, of which the solution didn't work...