Ver Mensaje Individual
  #5  
Antiguo 25-08-2010
mantraxer21 mantraxer21 is offline
Miembro
 
Registrado: ago 2010
Posts: 94
Reputación: 14
mantraxer21 Va por buen camino
Holas:

Efectivamente...


DESPACHO -> ID_DESPACHO By 1 (generator field)

Código SQL [-]
Select FECHA_DES, ID_CAMION, ID_CHOFER, ID_COMUNA_DES, ID_DESPACHO, NUMERO_DESPACHO, TOTAL_DES from DESPACHO;
(select Sql)

DataSet:
Cached Updates := true
Active:= false
Dabase:= asignada !

Evento Oncreate del Formulario

Código Delphi [-]
dsDespacho.Active:=true;


Evento OnClick del Boton Nuevo:

Código Delphi [-]
dsDespacho.Close; 
dsDespacho.Open; 
dsDespacho.Append;
Responder Con Cita