Solved

ASP forms

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

690 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