?
Solved

ASP forms

Posted on 1998-08-19
2
Medium Priority
?
119 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 60 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Suggested Courses

770 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