473,289 Members | 1,723 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Inserting data into a database

How do I insert data from one form into two tables in a database?

I am working with ASP pages and a MSSQL database

Please let me know if one of you have done this before and how this is
possible

Kind Regards
Ria
Jul 23 '05 #1
4 1612
You'd have better luck in a newsgroup that deals with ASP and mssql
databases. Your question has nothing to do with JavaScript, what you
want to do happens at the server, not the browser.

Sorry, I don't know of a newsgroup that deals with ASP and MSSQL, but
you might be able to find one on groups.google.com

Jul 23 '05 #2
Lee
Ria Van Heerden said:

How do I insert data from one form into two tables in a database?

I am working with ASP pages and a MSSQL database

Please let me know if one of you have done this before and how this is
possible


This question might get a better response if you ask it in a newsgroup
that has something to do with ASP pages and/or databases.

Good luck

Jul 23 '05 #3
Thanks for replying ... you are right ... I have been putting in way to much
hours on this project and did not even think of looking at the ASP
newsgroup. I am going to take a couple of hours of sleep and try again.

Thanks for your patience.

Kind Regards
Ria

"Lee" <RE**************@cox.net> wrote in message
news:db*********@drn.newsguy.com...
Ria Van Heerden said:

How do I insert data from one form into two tables in a database?

I am working with ASP pages and a MSSQL database

Please let me know if one of you have done this before and how this is
possible


This question might get a better response if you ask it in a newsgroup
that has something to do with ASP pages and/or databases.

Good luck

Jul 23 '05 #4

"Ria Van Heerden" <ri*@somewhere.com> wrote in message
news:db**********@domitilla.aioe.org...
Thanks for replying ... you are right ... I have been putting in way to much hours on this project and did not even think of looking at the ASP
newsgroup. I am going to take a couple of hours of sleep and try again.

Thanks for your patience.

Kind Regards
Ria

"Lee" <RE**************@cox.net> wrote in message
news:db*********@drn.newsguy.com...
Ria Van Heerden said:

How do I insert data from one form into two tables in a database?

I am working with ASP pages and a MSSQL database

Please let me know if one of you have done this before and how this is
possible


This question might get a better response if you ask it in a newsgroup
that has something to do with ASP pages and/or databases.

Good luck



simple, you just update some of the form data
into one table, and some to the other table,
using separate update or insert statements in
the page you post your form data to.
there's no restriction that says these many forms
must update these many tables.
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: perplexed | last post by:
How do you convert a user inputted date to a unix timestamp before insterting it into your database? I have a form, with a textfield for a date that the user inputs in the format mm-dd-yyyy and...
7
by: Jared Evans | last post by:
I developed a console application that will continually check a message queue to watch for any incoming data that needs to be inserted into MS SQL database. What would be a low-cost method I...
2
by: altergothen | last post by:
Hi there I am a newbie to ASP.Net - Please Help! I am trying to insert the values of my variables into a database. If I try the following it works perfectly: string insertQuery = "INSERT into...
6
by: Pushpendra Vats | last post by:
Hi , I am trying to insert records into database. I am trying to write the following code. On button1 click event i am inserting five records and after that i am calling the update method of...
0
by: pd123 | last post by:
I'm new to C# and .net and I'm trying to create a form that will register users in a sql server database. I have the following code but when I run the code I get an error " The name 'Peter' is...
2
by: Etayki | last post by:
Hi! I am trying to insert data into a MS SQL Database from a Console Application written in VB.net I have already created the table in the database and I am able to read values. When I insert a...
3
by: Surya | last post by:
Dear All, I have problem on inserting a record to database..Although it looked easy.. i have caught up with following issue .. please go ahead and help me to find solution I Need to insert...
2
by: Ravigandha | last post by:
Hello everybody, My question is how to insert special characters and symbols in Mysql5 database and how to retrieve them from database in php. Here i am inserting some data from a form,by post...
6
by: Bunty | last post by:
I want to insert values in the database.If i insert values one by one then it works till 4 or 5 fields then after it gives error.In my database there are more than 20 field.Pls help me.
2
by: AlexanderDeLarge | last post by:
Hi! I got a problem that's driving me crazy and I'm desperately in need of help. I'll explain my scenario: I'm doing a database driven site for a band, I got these tables for their discography...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.