Solved

ASP forms

Posted on 1998-08-19
2
115 Views
Last Modified: 2010-05-19
How do I get an ASP form to submit to multiple tables in a database?

I know how to submit it to one table in the database, but I am having trouble with multiple tables.

You help is greatly appreciated.
0
Comment
Question by:jwilliams1
2 Comments
 

Expert Comment

by:dr00py
ID: 1836817
Due to the fact that ASP has a VB like programming language wich has the ability to access database-tables, it's just a question of opening the correct table and set the values to it's fields.
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 30 total points
ID: 1836818
You can write (in your access database) a juntion table or a macro and then send using ASP a command to the database to perform the function... In hte function, you have it copy from one table to another...

or, you could do something like this...

initiate the databse connection...

<%
rs.add
rs.fields("Name") = theName
rs.update
rs.close
%>
initiate another databse connection
<%
rs.add
rs.fields("name") = TheName
rs.update
rs.close
%>

That would update both tables and then display the rest of the page...

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question