close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


[Data Bridge 1] Delete file not working alog Delete record

Thread began 6/19/2019 10:37 am by SCar87011738 | Last modified 6/20/2019 12:07 pm by Jose | 121 views | 3 replies |


[Data Bridge 1] Delete file not working along with Delete record

Hello all,
I have a detail page (created with "data assist pages") that displays a record.
This record contains 4 file fields.
The detail page is set to allow the user to delete the record.
The delete record server behaviour works correctly.
But since there are 4 file related to the deleted record, I need to delete them too.
So I added 4 delete file server behaviours.
But after deleting the record the files are still there.
I try to attach the detail page, in case someone can see what's wrong with it.
TIA for any help

Attached Files
Sign in to reply to this post

Ray BorduinWebAssist

Replace this:
action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>"

with this:

It will appear two times on the page. That should fix the problem. The issue is that the form action isn't forwarding the $_GET variable you are using to filter the recordset. So after submitting the recordset isn't able to find the row with the files that need to be deleted.

By setting the action="" property, any parameters passed to the page are forwarded through the submit automatically.

Sign in to reply to this post
Did this help? Tips are appreciated...


Hello Ray,
thanks for your reply.
I changed the form actions but nothing changes.
Please note that the code has been generated by Data Assist Pages.
I made just little adjustements to the dates display format.
Could it be the local LAMP server? (php 5.3)

Sign in to reply to this post


Hi Ray,
just to let you know that I recreated a similar page in DB2 and it works out of the box.

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





Ease of use


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...