close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Insert Record not catching new File Name

Thread began 12/01/2010 8:22 am by mrobben375515 | Last modified 12/02/2010 7:51 am by Jason Byrnes | 1518 views | 4 replies |

mrobben375515

Insert Record not catching new File Name

I'm using Digital File Pro to create a photo upload form on two pages. The upload works fine, but inserting the file name into the database when files have the same name isn't working quite right.

On the first page the file names are stored as session variables. On the second page there's a second form with more upload fields, and the file names from these and the file names from the previous page (stored in session variables) are inserted into the database. Everything works fine until there's identical file names. I set Digital File Pro to rename the new files with an extension, but this is not reflected in the database. Can I get the renamed file names to show up instead? I've attached the file, thanks

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

mrobben375515

Sorry, I forgot the first file. It's attached here

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

Jason ByrnesWebAssist

Your set session value behaviors are getting the file name from the form collection.


you need to use the Server FileName Binding From the WA_Uploaded Files (Field Name) group instead.


also the set session value behaviors will need to be moved after the file upload behaviors in the code.

Sign in to reply to this post

mrobben375515

I knew there was somethin I didn't choose right. Thank you, it works perfect now

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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