Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Conexión con bases de datos
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Conexión con bases de datos

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 21-10-2005
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Poder: 29
Lepe Va por buen camino
El Post tambien sobra.

Cita:
Empezado por ayuda de delphi
Inserts a new, populated record to the dataset and posts it.

procedure InsertRecord(const Values: array of const);

Description

Call InsertRecord to create a new, empty record in the dataset, populate it with the field values in Values, and post the values to the database or change log.

A newly inserted record is posted to the database in one of three ways:

For indexed Paradox and dBASE tables, the record is inserted into the dataset in a position based on its index.
For unindexed Paradox tables, the record is inserted into the dataset at the current position.
For unindexed dBASE, FoxPro, and Access tables, the record is inserted into the dataset at the end.
For SQL databases, the physical location of the insert is implementation-specific. For indexed tables, the index is updated with the new record information.

The newly inserted record becomes the active record.
En definitiva, deja solo las lineas de InsertRecord. Si aún así te da el mismo error, puede que le estes pasando un valor de más, es decir, la tabla tiene 4 campos y tu le das 5 para insertar.

saludos
__________________
Si usted entendió mi comentario, contácteme y gustosamente,
se lo volveré a explicar hasta que no lo entienda, Gracias.

Última edición por Lepe fecha: 21-10-2005 a las 15:32:40.
Responder Con Cita
  #2  
Antiguo 31-10-2005
varuhs varuhs is offline
Registrado
 
Registrado: oct 2005
Posts: 7
Poder: 0
varuhs Va por buen camino
Sestec

Hola Ilich

El nombre sestec me suena.... al igual que los campos que mencionas..... al pareces estas desarrollando una aplicacion para un laboratorio de control de calidad....

si quieres sabes mas información al respecto, enviame un mensaje privado...
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 20:57:35.


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