Ver Mensaje Individual
  #1  
Antiguo 14-05-2015
alexglez1255 alexglez1255 is offline
Miembro
NULL
 
Registrado: jul 2013
Posts: 86
Reputación: 11
alexglez1255 Va por buen camino
Error Transaction is not active

Disculpen me sale este error cuando le doy la sentencia commit; antes no me salia y me trabajaba bien ahora no se por que me sale..
alguien sabe por que..

la instruccion es

Código Delphi [-]
 
     CDSAlma.Post;
     CDSAlma.ApplyUpdates(0);
     modulodatos.IBTransaction1.Commit;  <======= al pasar por esta linea me da el error..cuando antes trabajaba bien..
     CDSBsqAlma.open;
     CDSBsqAlma.Refresh;
     CDSBsqAlma.IndexFieldNames:='COD_ARTICULO';
     CDSBsqAlma.last;
     CDSAlma.Edit;
     CDSAlmaCOD_ARTICULO.Value:=CDSBsqAlmaCOD_ARTICULO.Value;
     BtguardarAltaarticulo.Enabled:=False;
     BtInsertarNuevoarticulo.Enabled:=True;
     CDSAlma.EmptyDataSet;

Gracias por su ayuda, que mi Dios Jehova los bendiga.
Responder Con Cita