Zuzana said:
I am trying to create an Access database with linked tables. I would
like to link around 300-500 hundret excell tables into Access. Am I
asking for a trouble? Can you please provide me with
information/suggestions you can have on how to go about it?
Thanks a lot!
If you are *linking* the Excel spreadsheets as tables, you shouldn't
have any capacity problems, because no matter how much data is stored in
those tables, that data is external to the database file itself. Of
course, you probably want to automate the linking process, rather than
going through the whole manual process each time. Given a table of the
spreadsheet files you want to import, you could use the
DoCmd.TransferSpreadsheet method looping through a recordset to link
each one in turn.
If these Excel spreadsheets all contain the same sort of data, you're
probably going to want to append the data from all the linked tables
into one Access table so you can work with it more readily, maybe adding
an extra field in the process to identify which spreadsheet it came
from. Once you've gotten all the data from the spreadsheets into a
local table, you can drop the links. I should say, though, that you can
only do this if the total database file size after the import is less
than the Access maximum of 2GB (1GB if you're using Access 97).