Hi Joaquin;
You need to ...
1) clear the contents of the "abl_foto" Blob variable before the SelectBob SQL statement is executed.
2) Instead of SetNull ( abl_foto ) ... try:
abl_foto = Blob ("")
- I seem to remember having an issue with SetNull & blobs
HTH
Regards ... Chris