Solved

ASP forms

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

759 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

18 Experts available now in Live!

Get 1:1 Help Now