close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Database with recordset?

Thread began 8/01/2012 12:30 pm by chiefody420414 | Last modified 8/02/2012 11:35 am by Jason Byrnes | 4129 views | 3 replies |

chiefody420414

Database with recordset?

Hello,

I created an image upload for my web gallery so clients could upload images to my website and create their own album with the "Digital File Pro 2" by: WebAssist. So far, I have been able to use the software to create an image uploader that uploads to _detail and _thumb folders. My next step is to create the same image upload using recordset so I could retrieve images from the database to a detail page because soon after clients finishes their uploads they will be redirected to detail page so they could view their image on the detail page.

I have already created the recordset and image upload applied to the file field on the form and were able to use it to upload to _detail and _thumbs but unable to upload to database.

· How can I make this possible so I could upload to database?
· How can I set it up so I could retrieve images from the database to the detail pages?
· Does any one know how I could do this successfully?
I also like to set the date option in the database so I could add dates to my form in the design.
· How can I do this if you?

Please help me with the creation of image database and date-stamp database as well?

Thanks bunch.

Ody

Sign in to reply to this post

Jason ByrnesWebAssist

to store the image name in your data base, you will need to use the Data Assist Insert record behavior from the Data Bridge extension:
data-bridge/


The Digital File pro support page has a tutorial for using Image Upload in your data assist insert pages:
digital-file-pro/

to insert the current date when a new record is submitted, set the default value of the date column to NOW in the mysql database

Sign in to reply to this post

chiefody420414

Hello,

I am not sure I want to buy any more software to succeed in my design quest. Reason I bought the one I bought is because Dreamweaver does not have all the functionality I needed to make my design complete. Is there any way to retrieve the image already uploaded in the database and show it on the detail page? I think you have another idea on how to do this with your “digital file pro 2”, you must have used it to design your own site. What way is that way?

I couldn't find the word "NOW" and I tried typing the very word in a column but it didn't work. Where exactly or which column exactly do I need to check for the word "NOW" or may be type in at the word "NOW"?

Thanks,

Ody

Attached Files
Hello.doc
Sign in to reply to this post

Jason ByrnesWebAssist

When a file is uploaded using Digital File Pro, the file name is stored in a variable that is created under the WA Uploaded Files (file field) binding group named Server File Name.


The drawback to the Insert and Update record behaviors that are built into Dreamweaver is that they can only use dynamic data from form elements. they cannot use the server file name variable that is created. This is why you will need to use data assist for inserting and updating the record, what you are trying to accomplish cannot be done with the native Dreamweaver insert and update behaviors.


for the date, if using a timestamp column type, you can use current_time for the default value:
data-type-defaults.html

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