Solved

ASP forms

Posted on 1998-08-19
2
114 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Find out what you should include to make the best professional email signature for your organization.
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 …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

861 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now