Hi DAW,
If you're using FILESTREAM to read/write images data directly unto a table (BINARY) column, then the image does NOT clear when the DD does a Clear/Clear_All.
We traced the issue to an oversight in the parent class cImageContainer, more specifically in the "Set psImage" procedure.
Within the "Procedure Set psImage String sImage" there is a block of code as per:
Code:
Get pbLoadFromResource to bLoadFromResource
If (not (bLoadFromResource)) Begin
Get ppsImage to sPreviousImage
Get FindImage sImage to sImage
If (sPreviousImage = sImage) Begin
Procedure_Return
End
End
This is to be updated as follows:
Code:
Get pbLoadFromResource to bLoadFromResource
If (not (bLoadFromResource)) Begin
Get ppsImage to sPreviousImage
Get FindImage sImage to sImage
If (sPreviousImage <> '') Begin //@ RRS
If (sPreviousImage = sImage) Begin
Procedure_Return
End
End
End
The reason being that psImage is usually blank when using FILESTREAM to read/write image data.
Hopefully this fix will applied to the next revision.
Thanks.