Import a table creates a new table

K

Kevbro7189

Ok I have these two Access DB which have the same table (same fields, and
properties) the first database (DBPART) gets updated with new data from time
to time. So I want the second database (DBLOG) to update off of DBPART.

I built a micro to import the table (TBLIST) from DBPART to LOG.

TransferDatabase Import, Microsoft Access, =([Text23]), Table, TBLIST,
TBLIST, No
Note “=([Text23])†is the way I used for the user to input the location of
DBPART

My problem is when TBLIST is imported to DBLOG a new table is created as
TBLIST1, then TBLIST2, TBLIST3.............. The data never gets into TBLIST.
 
K

Kevbro7189

Thanks Jeff. It took me a while to get it down but the append query worked
like a champ!


Jeff Boyce said:
"Import" means add a copy.

Perhaps you want to use "link", or maybe you could use an append query to
add records.

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP


Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

Kevbro7189 said:
Ok I have these two Access DB which have the same table (same fields, and
properties) the first database (DBPART) gets updated with new data from time
to time. So I want the second database (DBLOG) to update off of DBPART.

I built a micro to import the table (TBLIST) from DBPART to LOG.

TransferDatabase Import, Microsoft Access, =([Text23]), Table, TBLIST,
TBLIST, No
Note “=([Text23])†is the way I used for the user to input the location of
DBPART

My problem is when TBLIST is imported to DBLOG a new table is created as
TBLIST1, then TBLIST2, TBLIST3.............. The data never gets into TBLIST.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top