This topic is locked

Delete image

2/27/2008 1:27:36 AM
ASPRunnerPro General questions
N
nitzan author

In case I have set a image as one of the table fields and I go to

the Edit page, I can see two options for it: Keep and Update.
However I need to delete an existing image and couldn't find

how to do it. I tried doing update with empty file but with no success.
Any idea of how to delete existing image?

J
Jane 2/28/2008

Hi,
thank you for pointing me to this bug.

We'll fix it in the next update.

Alexey admin 2/28/2008

Hi,
to get the Delete feature working with the current version modify edit.asp file in C:\Program Files\ASPRunnerPro5.x\source folder.

Find this line there:

smarty.Add "value_##@f.strName g##",""

and replace it with:

smarty.Add "value_##@f.strName g##",dbvalue(rs("##@f.strName s##"))



Then rebuild your project.

N
nitzan author 2/29/2008

Works like a charm.
Thnx