BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can not Change records on Filtered ADO table dataset?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
KPSaray!
Guest





PostPosted: Thu Mar 04, 2004 9:50 am    Post subject: Can not Change records on Filtered ADO table dataset? Reply with quote



Hello.
ENV: Win2000, D6, Access97 via ADO.

I have some filtered records and when I try to Edit, Insert, Post or Update
eberything is OK, but my records are same after I restart my application.

Thank you.
Haris


Back to top
KPSaray!
Guest





PostPosted: Fri Mar 05, 2004 9:41 am    Post subject: Re: Can not Change records on Filtered ADO table dataset? Reply with quote




I have some filtered rows in my filtered table. When I try to change one
field I got next message:
"Key column information is insufficient or incorect. Too many rows were
affected by update."

I already set up LockType to itBatchOptimistic and tried to UpdateBatch on
FormClose event, but nothing. As I can see ADO keeps changed values in
Cache, but problem is transfering to database (write to disk).
Why I can not compile Project when I add Parameter (arFiltered) in
TADOTable2.UpdateBatch(arFiltered).
TADOTable2 table is my Filtered table.

Thank you.
Haris




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.