close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update form erases image filename

Thread began 1/05/2010 3:15 pm by Brad Lawryk | Last modified 1/06/2010 12:25 pm by Jimmy Wu | 1393 views | 3 replies |

Brad Lawryk

Update form erases image filename

When using the DFP in an update form, if you leave the file field blank when editing other info, it deletes the filename from the database column therefore image doesn't show up.

How can it be set to not erase the the data in the filename column so you don't have to upload an image everytime?

Brad

Sign in to reply to this post

Jimmy Wu

You will have a recordset that has the previous information that was stored in the database. You would need to bind the previous file name to the default file name in the upload server behavior so that if there isn't a file uploaded, the file name stored in the database will be used as the default and stored in the database correctly.

Sign in to reply to this post

Brad Lawryk

Thats what I thought, Jimmy. I tried that but could find no way to bind the old data to the file field.

Sign in to reply to this post

Jimmy Wu

Do you have a recordset on the page that has the previous information? You would just reenter the server behavior and click the lightning bolt symbol next to Default File on step 2. Then select the field that stores the previous file name.

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