Subject Passing Null to Blob UDF
Author marcelo_paniagua
Hi there! I'm using a UDF that receive a blob as
as a parameter. I'm calling the UDF from a trigger
and I need to pass NULL as the parameter... Is this
posible? or I'm doing something wrong?

DECLARE EXTERNAL FUNCTION FSAVEFILE
BLOB,
BLOB,
CSTRING (250),
CSTRING (250)
RETURNS BLOB
ENTRY_POINT 'SaveFile' MODULE_NAME 'PCDoctores.dll';


SELECT FSAVEFILE(NEW.IMAGEN,NULL,COF_PATHIMAGEN,'')
FROM GEN_CONFIGURACION INTO NEW.IMAGEN;