View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problem inseting multiple records

Thread began 9/12/2009 2:30 am by pc316991 | Last modified 9/21/2009 3:25 pm by pc316991 | 1450 views | 10 replies


Problem inseting multiple records

I am trying to create a page where a user can upload multiple images and have the records insert in to a table all in one go. I have followed the solution recipe to the letter but no matter what I do (and I have tried it countless times) I just keep getting this error.

Cannot use Request.Form
/newwebsite/cms_files/_cms_admin_image_add_multiple_upload.asp, line 100
Cannot use Request.Form collection after calling BinaryRead.

This refers to code on the page which looks like this

' WA DataAssist Multiple Inserts

THIS IS LINE 100 if (cStr(Request.Form("Submit")) <> "") then

WA_loopedFields = Array("MainCategoryID", "CategoryID", "ImageFilename")
WA_connection = MM_connContent_STRING
WA_table = "Images"
WA_redirectURL = "_cms_admin_image.asp"
WA_keepQueryString = false
WA_fieldNamesStr = "MainCategoryID|CategoryID|ImageFilename"
WA_columnTypesStr = "none,none,NULL|none,none,NULL|',none,''"
WA_insertIfNotBlank = "ImageFilename"
WA_fieldNames = Split(WA_fieldNamesStr,"|")
WA_columns = Split(WA_columnTypesStr,"|")
WA_multipleInsertCounter = 0

and so on...

This is the code that insert multiple records puts in so not clear what needs changing?

Or else am I trying to do something that is not going to be possible?

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





Ease of use


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