create a primary key in your table.

if you are using ADO components, check  cursor type and cursor location.



Assaf Stone <[EMAIL PROTECTED]> escribi�: Hello all.

I've got a strange error, that occurs when I try to insert a row into a
table. The error occurs when using a DBGrid to insert a row, as well as
using the Table.Insert, FieldValues[...]:= ..., and finally Table.Post;

I get an exception, and the cursor can't leave the row (in the grid),
but when I close the app, and restart, the data has been saved.

This is the error message, I couldn't make heads or tails of:
Project raised exception class EOleException with message 'Key column
information is insufficient or incorrect. Too many rows were affected by
update'. Process stopped. Use Step or Run to continue.

Could anybody tell me what's wrong here, and even better - how to fix
it?

TIA,
Assaf.

Assaf Stone
Spacelogic ltd.
[EMAIL PROTECTED]
Tel: 972-9-8855565 ext. #315



[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 



---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 





---------------------------------
Do You Yahoo!?
Todo lo que quieres saber de Estados Unidos, Am�rica Latina y el resto del 
Mundo.
Vis�ta Yahoo! Noticias.


[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to