Finalmente encontre el error, al no revisar bien la tabla con la que trabajaba, no me di cuenta que uno de los parametros que ingresaba en la segunda tabla tambien estaba como Key. Entonces cuando ingresaba los parametros y ponia un distinto valor, nunca encontraba el registro para updatear.
Gracias a todos por su ayuda.
__________________
-When you have eliminated the impossible, whatever remains, however improbable, must be the truth.-
|