close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cannot delete an image from results page

Thread began 7/04/2012 4:18 am by CJ | Last modified 7/06/2012 10:50 am by CJ | 1133 views | 3 replies |

CJ

Cannot delete an image from results page

Hi,
I want to delete the associated image when I delete a record from the results page. This was no problem in DataAssist but I can't manage this in DataBridge (1.05). Please can you advice me? (See attached results page)

CJ.

Attached Files
producten_results.zip
Sign in to reply to this post

CJ

In the update page everything works fine. I can upload another image and I can delete the old image file after the upload is succesfull. But when I delete a record in the results page, after clicking the delete button, I try to delete the associated image file after deleting the record from database. This doesn't seem to work. Can someone explain to me how I can manage that?

CJ.

Sign in to reply to this post

Jason ByrnesWebAssist

The delete button passes the ID of the record to delete using a form variable:
WADADeleteRecordID

Create a new recordset that is configured to filer the ID column using the WADADeleteRecordID form variable. In the delete file server behavior, use the file name column from the new recordset that you create to delete the corresponding file for the record that is being deleted.

Sign in to reply to this post

CJ

Thank you Jason.
That works !!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...