Talk About Network

Google





Software > Access External data > Re: Im****t int...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 10825 of 11376
Post > Topic >>

Re: Im****t into multiple related tables?

by "Jeff Boyce" <nonsense@[EMAIL PROTECTED] > Jul 23, 2008 at 01:27 PM

How do you get the data from the temp into the Main table?  Is the MainID 
something you pass into the Main table, or something that it generates for

you (e.g., Autonumber)?

One way to accomplish what you described is to im****t the data into a temp

table in Access that has its OWN ID field.  Keep track in Main which
TempID 
you used, then use a query to join the TempID in Main to the MainID and
back 
to the temp table for the other data you need to parse out to your "many" 
tables.


Regards

Jeff Boyce
Microsoft Office/Access MVP

"pb100" <pb100@[EMAIL PROTECTED]
> wrote in message 
news:9A74ECED-722E-4FA1-90E6-0E2B01AB87EE@[EMAIL PROTECTED]
> Hi - I have a procedure to im****t data from Excel into Access.  The data
> needs to go into 3 related tables: Main, Details, Extra.  Main has a 
> primary
> key ID that relates to the other 2 tables in a one to many relation****p.

> I
> am able to get the data into a temp table or three temp tables in Access
> (tried both methods).  Where I am stuck is in appending the data to the
> tables and getting the ID of the record I im****ted to the Main table
into 
> the
> data for the other 2 tables??  Basically, just like in using forms and
> sub-forms to insert new data, how do I get the Main table ID value into 
> the
> data for the other 2 tables?
>
> I have spent many hours trying to find a solution..:}  Any help is
greatly
> appreciated!!  I may just be missing something simple...
> -- 
> -pb100
 




 2 Posts in Topic:
Import into multiple related tables?
=?Utf-8?B?cGIxMDA=?= <  2008-07-23 12:53:00 
Re: Import into multiple related tables?
"Jeff Boyce" &l  2008-07-23 13:27:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 5:35:23 PST 2009.