Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update disconnected RS from Linked Server

Status
Not open for further replies.

ToddR

Programmer
Feb 28, 2001
35
0
0
US
I am pulling a disconnected recordset from a linked server using ADO 2.5. I have the following config:
Cursor Location: client side
Cursor Type: KeySet
LockType: BatchOptimistic

I'm using the oledb provider against a linked SQL7.0 server (wait, on second thought it's an MSDE db). When I reconnect and call updatebatch, I get:
"Insufficient base table information for updating or refreshing".
Error number = -21474667259
Native Number = 1006

Any ideas?

Thanks
 
Does the recordset include a primary key or unique index? A unique row identifier is required to update. Terry

"I'm not dumb. I just have a command of throughly useless information." - Calvin, of Calvin and Hobbes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top