Ver Mensaje Individual
  #1  
Antiguo 10-10-2007
nelem nelem is offline
Miembro
 
Registrado: sep 2007
Posts: 50
Reputación: 19
nelem Va por buen camino
Problemas al hacer un Insert con loos nulos

Hola tengo un problema necesito insertar en un campo entero un valor nulo:

QAux.Sql.Add ('INSERT INTO tabla ');
QAux.Sql.Add (' (Cod ');
QAux.Sql.Add (' Entero) ');
QAux.Sql.Add ('VALUES ');
QAux.Sql.Add (' (rmCod, ');
QAux.Sql.Add (' rmEntero ) ');

QAux.ParamByName('prmCod' ).AsInteger := varEntera
QAux.ParamByName('prmEntero' ).AsInteger := VarEntera(pero en algunos casos valor nulo).

Muchas gracias
Responder Con Cita