Ver Mensaje Individual
  #6  
Antiguo 03-08-2016
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 18.289
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
¿Y cual es el error en cada una?

Esta línea:
Código Delphi [-]
if fModulo.qCaja.FieldByName('estado_caja').AsInteger=0 then

No puede provocar este error:
"SQL Error Column idcaja cannot be null"

Salvo que tengas código en otro lugar (evento, triggers,...) que no estás poniendo aquí.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita