Ver Mensaje Individual
  #4  
Antiguo 21-01-2006
Avatar de walito
walito walito is offline
Miembro
 
Registrado: jun 2005
Posts: 121
Reputación: 19
walito Va por buen camino
Yo los insert los hago asi de simple:

Código Delphi [-]
DbMySQL.Ztable.TableName := 'presupuesto';
DbMySQL.Ztable.Open;
DbMySQL.Ztable.Append;

DbMySQL.Ztable.FieldByName('pre_nombre').AsString := EdtNombre.Text;
DbMySQL.Ztable.FieldByName('pre_apellido').AsString := EdtApellido.Text;
DbMySQL.Ztable.FieldByName('pre_empresa').AsString := EdtEmpresa.Text;
DbMySQL.Ztable.FieldByName('pre_telefono').AsString := EdtTelefono.Text;
DbMySQL.Ztable.FieldByName('pre_fecha').AsDateTime := NOW;

DbMySQL.Ztable.Post;
DbMySQL.Ztable.Close;


con eso debe sobrar para tu insert
espero te sirba

walter
Responder Con Cita