Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

Thanks so much for having a place for us propeller heads to hang out and chat.

Geography

Where in the world do Tek-Tips members come from?
austinmoran (MIS)
23 Jun 07 19:27
I have two simple tables in SQL that are linked that I would like to update either (1) on a single ASP_VB page, or if need be, (2) on two separate ASP pages by passing a session variable (I don't know how to make this work, though).  I have been able to create a form on one page, using the INSERT, APPLICATION OBJECT, INSERT RECORD WIZARD, and it works flawlessly.  However, I need to insert from the form into TWO tables and I am not sure how to accomplish this.

Here are my table fields:
VOLUNTEER table:
VolunteerID (Key Field)
Fname
Mname
Lname
Address1
Address2
City
State
Zip
Phone

VolunteerCommittee table:
VolunteerCommitteeID (key field)
CommitteeChoice1
CommitteeChoice2
CommitteeChoice3
VolunteerID (Foreign field)

Any help you might be able to offer this DW newbie would be very much appreicated, for sure.  I have been days trying to figure out how to accomplish this.

- Austin
ChrisHirst (IS/IT--Management)
24 Jun 07 4:43
one page, run two consecutive queries.

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.

lebisol (IS/IT--Management)
20 Jul 07 18:12
give this a look:
http://mostarnetworks.com/tmp/Insert.html

:--------------------------------------:
  

  All around in my home town,
  They tryin' to track me down...

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close