Refreshing Data

G

Guest

I have 6 tables already imported, however, the original files have just been
updated with new data. How can I refresh the tables with the new data? I
would think Access has a process similar to updating pivot tables (clicking
on the exclamation point icon). Any Ideas?

Thanks
 
D

Danny J. Lesandrini

If you want the Access data to match the files, Link to them instead of importing.
 
G

Guest

I tried that but I can't add new fields. The files have one extra variable
appended on the end so I just want to add it in design view and populate that
field by hitting a refresh button.
--
Regards,
Dave


Danny J. Lesandrini said:
If you want the Access data to match the files, Link to them instead of importing.

--

Danny J. Lesandrini
(e-mail address removed)
http://amazecreations.com/datafast/
 
G

George Nicholson

Link the tables (not import), then create a query for each of your tables
where you will add your extra field that will "refresh" every time you run
the query.
Then base all your forms, etc. on the queries, not on the tables.

--
George Nicholson

Remove 'Junk' from return address.


David Billigmeier said:
I tried that but I can't add new fields. The files have one extra variable
appended on the end so I just want to add it in design view and populate
that
field by hitting a refresh button.
 
G

Guest

I would prefer to change the source table to add the additional field/fields.
If that isn't possible, try to negotiate adding a new table with the
additional field/fields to the source database so that referential integrity
can be enforced between the two tables. Failing either of those, I would
create a new table that holds ONLY the primary key and whatever data
field/fields you need to add to the table. Link the tables from the other
database so you don't have to worry about refreshing their data. In your
application, use a query with a LEFT JOIN rather than an INNER JOIN to join
the linked table to your new local table. The reason for the left join is to
allow you to "see" newly added records for which you have not yet added your
local fields.

If it is possible for rows to be deleted from the linked table, you would
need to delete them from your local table also. To do that, run a query when
the database opens that locates these orphan records and deletes them.
David Billigmeier said:
I tried that but I can't add new fields. The files have one extra variable
appended on the end so I just want to add it in design view and populate that
field by hitting a refresh button.
 

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

Similar Threads

Pivot Table Refreshing 2
Wait till pivot finishes refreshing 1
Pivot Table Help! 1
Delete Data from Table and Import New Data 1
Refreshing Pivot Tables 2
Excel VBA For excel 0
Acces import data to Query 3
Refreshing data 1

Top