Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 8th, 2005, 11:31 AM
Jackdaws Jackdaws is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 2 Jackdaws User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m
Reputation Power: 0
Question Inserting data into multiple tables

I’m new to access and I’m trying to use one form to enter data into more then one table. For example I want to enter a record of a photo which is linked to a copyright, author and subject. If the copyright, author or subject doesn’t exist a new record needs to be entered in those tables.



Is there away to add all this data simultaneously or should I just be adding the extra fields to the photo table and kissing my data normalization goodbye? All the books/tutorials I have found only show adding records to one table at a time but I really does seem like this should be possible. Thanks for any advice.

Reply With Quote
  #2  
Old February 8th, 2005, 01:04 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 4
Just use the same procedure you found for the one table and duplicate the process to your second table using basically the same syntax. If you are using a openrecordset of one table to add records, just create a second openrecordset of the other table and add records there..all at the same time.

lwells

Reply With Quote
  #3  
Old February 8th, 2005, 01:50 PM
Jackdaws Jackdaws is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 2 Jackdaws User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m
Reputation Power: 0
Quote:
Originally Posted by lwells
Just use the same procedure you found for the one table and duplicate the process to your second table using basically the same syntax. If you are using a openrecordset of one table to add records, just create a second openrecordset of the other table and add records there..all at the same time.


Thanks for your response. But I think I’m going to need a bit more clarification. Here is a simple database that adds to two tables with one form except it doesn’t work. I need to update or know how to update it so it can and photos and a photographer if it doesn’t already exist. I hope this makes my question specific enough.


http://www.utteraccess.com/forums/download.php?Number=632797

Thanks

Reply With Quote
  #4  
Old February 8th, 2005, 04:00 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 4
The link is broken that you posted. Please don't post links to other web sites. Just post the code that you are currently using and we can help you.

lwells
Comments on this post
Jackdaws disagrees!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Inserting data into multiple tables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway