Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Writing to a database with ASP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Writing to a database with ASP

 Post Reply Post Reply
Author
pete_solihull View Drop Down
Newbie
Newbie


Joined: 29 July 2004
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote pete_solihull Quote  Post ReplyReply Direct Link To This Post Topic: Writing to a database with ASP
    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.

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post 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")
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.