close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to assign an image upload name to the value of the record its being inserted into

Thread began 4/11/2012 3:28 pm by Christopher West | Last modified 4/12/2012 7:49 am by Christopher West | 881 views | 2 replies |

Christopher WestCommunity Expert

How to assign an image upload name to the value of the record its being inserted into

Hi there, I got a product insert page and on that page I have an image upload - what I would like to do is use the ProductID (of the insert) to be the image name that will be stored in the database (reason being its easier to use the recordID for the name as I am inserting products and its easier to manager this way.

Chris

Sign in to reply to this post

Jason ByrnesWebAssist

when a record is inserted, the ID is stored in a session variable.

the only way for this to work would be to insert the record, and have the upload behavior come after it and bind the file name to the ID session that is created.

Sign in to reply to this post

Christopher WestCommunity Expert

Thanks Jason, will try that :)

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