matik
Posts: 57
|
| Posted: 11/21/2007, 3:41 PM |
|
Greetings,
I createed editable grid where you can upload image. But if i want just to replace image for current record image is replaced in database and new image is uploaded to server but old image is not deleted from server.
Any idea how to delete old image??
Thanks
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 12/06/2007, 8:15 PM |
|
matik
Is the image using the same name or a different name??
You could also put code in the before update event to delete the current image before you upload the new image.
|
 |
 |
matik
Posts: 57
|
| Posted: 12/06/2007, 11:21 PM |
|
Its using diferent name. even if you use the same neame you have timestamp before every image name when you upload.
Thank you
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 12/10/2007, 8:14 PM |
|
matik
Did you resolve this......or are you still working it??
|
 |
 |
matik
Posts: 57
|
| Posted: 12/11/2007, 1:59 AM |
|
No, I dident find any solution yet.
Matik
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 12/11/2007, 7:35 PM |
|
matik
Did you try putting custom code in the BeforeUpdate Event that would delete the saved image before adding the new image??
|
 |
 |