close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Insert Multiple Records Doesn't INSERT!!

Thread began 1/27/2010 3:22 pm by scott399397 | Last modified 1/28/2010 3:23 pm by Dani Chankhour | 715 views | 3 replies |

scott399397

Insert Multiple Records Doesn't INSERT!!

When I attempt to Insert Multiple Records from a page, everything appears to work, but nothing gets put into the access database. Using Dreamweaver 8, DataAssist 2.0.6, Access 2002. I've included the .asp code in the attached file... Any help would be greatly appeaciated!

Thanks,
Scott

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

Dani Chankhour

Looking at your page, i see that you have 3 forms, only the second form have a repeat selection, but the problem is you have your submit button under the third form, so when you are submitting the form, you are actually submitting the third form only.


You will need to add your submit button to your second form since that is the form that is being used with the multiple insert.

Sign in to reply to this post

scott399397

What Next?

Then how do I include all the data on the page without repeating unwanted areas? When I put everything on one form, the server behavior repeats even the areas not designated as 'Repeat"... I also don't want 15 'Submit' Buttons!

Thanks,
Scott

Sign in to reply to this post

Dani Chankhour

You should not apply the repeat selection server behavior on the entire form, you should only apply it on the fields that you want to be repeated, so at the end you should have one form, with some part repeat and some part not repeated and one submit button. For example:
<form>
<input type="text" >

Repeated {
<input type="checkbox">
}

<input type submit>


And then based on what you would like to happen, you could either use the multiple insert server behavior by itself, or you could use it with a combination with the single insert server behavior. This really depends on how you want the data stored in your database.

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