I am using smartclient 8.0 pro
I have blob in the database which stores an image. I am able to upload the a jpg file successfully. During the process I get proper values for DSRequest, and the oldValues and values seem to work as expected.
However when I try to delete the image from the database, the oldValues and values in DSRequest is exactly the same. though the image is getting delete from the database.
The code to delete is
From where does the server side know to delete the image in the database via the datasource.
Thanks in advance.
regards,
S
I have blob in the database which stores an image. I am able to upload the a jpg file successfully. During the process I get proper values for DSRequest, and the oldValues and values seem to work as expected.
However when I try to delete the image from the database, the oldValues and values in DSRequest is exactly the same. though the image is getting delete from the database.
The code to delete is
Code:
record.map_filename=null; record.map_filesize=0; customDS_zone.updateData(record);
Thanks in advance.
regards,
S
Comment