automatically make entry in a table - help needed urgently

djsmarties

Board Regular
Joined
Sep 10, 2002
Messages
95
hi there,

i have a database where i import data from excel into access tables. One of the access tables is not updated via excel and would need to be updated manually ("only access table").
what i need:
is it possible that during the import action from excel access also makes a new record in the "only access table" for every record it imports from excel?
basically it would just have to paste two fields from one table into this "only access table".

Any ideas? thanks for helping.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi,

You could make a new table that had a record for everytime a new record was imported using an append query. I would set up a table, make one field a foreign key from the primary key of your imported excel table, and one field a date field. In the append query, I would append the date field to now(), and append the foreign key field from the primary key of the source table. That way you would have a table with:
1. A key to indicate every record imported and
2. A date for each imported record.

HTH,
Corticus
This message was edited by Corticus on 2002-12-12 08:43
 
Upvote 0

Forum statistics

Threads
1,221,490
Messages
6,160,133
Members
451,622
Latest member
xmrwnx89

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top