Print Page | Close Window

Writing to a database with ASP

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=11345
Printed Date: 28 March 2026 at 9:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Writing to a database with ASP
Posted By: pete_solihull
Subject: Writing to a database with ASP
Date Posted: 29 July 2004 at 10:32am

Hey all,

Need some help writing from a form in a html page, to a Access database with a ASP file. I have followed the instructions on this websites and tested it on my server which is fully activated to use ASP files.

The example on this website works fine, but I require more than two pieces of information to be added to the database and when I try to add more lines in the ASP file, it no longer works. Any suggestions to why this might be happening?

The example I have followed can be seen in the link below. http://www.webwiz.net/asp/tutorials/add_to_database.as p

Just to give some quick background info, I am making a website about my family tree and would like relatives to be able to submit, their name, contact details, etc online and for this info to go on to a database.

Any help would be most appreciated.

Cheers Pete.




Replies:
Posted By: Semikolon
Date Posted: 29 July 2004 at 2:06pm
add a new field to the database table, add a new form field and add a new line to insert the data from the new form field into the new table field just like with the other fields.. recordset.fields("fieldname") = Request.Form("formfieldname")



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net