Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 01-11-2005
Luis Castillo Luis Castillo is offline
Miembro
 
Registrado: jun 2003
Ubicación: Colombia
Posts: 102
Poder: 21
Luis Castillo Va por buen camino
REcord/key deleted

Amigos.....

Me sale este error RECORD/KEY deleted...

Sale cuando hago table.insert.


que significa...
__________________
LK
Responder Con Cita
  #2  
Antiguo 02-11-2005
Avatar de vtdeleon
vtdeleon vtdeleon is offline
Miembro
 
Registrado: abr 2004
Ubicación: RD & USA
Posts: 3.236
Poder: 24
vtdeleon Va por buen camino
Saludos

Nunca había visto ese error y no dices que DB usas, pero buscando en google encontre esto:
http://info.borland.com/devsupport/b...interbase.html
Cita:
Problem:

Given just the right table structure, you can
incorrectly get the error "Record/Key Deleted". The
problem has to do with BLOb fields having or not
having data in them and violating a primary key
constraint. Please read steps for explanation.

Steps:

1) Create a table with this SQL statment:
CREATE TABLE T_TEST (
TN_NUMBER INTEGER NOT NULL PRIMARY
KEY,
TEXT_VERSION BLOB SUB_TYPE TEXT)

NOTE: records were added using the data tab
when the above table was selected (not a SQL
intert statment)
....
http://www.delphi32.com/info_facts/tips/revertrec.asp
Cita:
Reverting a record
When you want to revert a record in a cached updates table to its original state (state when the table was open) by using the DataSet.RevertRecord method, you must include, at least, rtUnmodified in DataSet.UpdateRecordTypes property set. If not you will get an 'Record/Key deleted' exception. The reason for this is that when you do RevertRecord that record becomes Unmodified
__________________
Van Troi De León
(Not) Guía, Code vB:=Delphi-SQL, ¿Cómo?
Viajar en el tiempo no es teóricamente posible, pues si lo fuera, ya estarían aqui contándonos al respecto!
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 03:24:01.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi