Linking Excel Files in Access

W

watsonscotta

I have 4 CSV files that I need to somehow link together so that I can query
the data. I could manually add the data together but would prefer that is
was linked via Access so that it can be automatically updated each month (via
Peachtree). Some of the columns in each spreadsheet are the same (G/L
Account, Amount, Date, and Description). If I could pull these 4 areas from
each spreadsheet that would be perfect. My issue is (I think) that there is
nothing unique about each line so Access cannot capture all. Access can
automatically assign a unique number but it starts at 1 for each table. Any
ideas on what to do here? Should I be thinking of a different way to do
this? Thanks in advance for your help. Scott...
 
K

KARL DEWEY

Have you considered using a union query and adding a field designating which
Excel file the data is from?

Remember each part of the union must have the same number of fields and
matching datatype so add Null followed by a comma where one does not have a
field. If the first does not have field then you must add according to what
the datatype will be.
Like this --
"" AS MyTextField
0 AS MyNumberField
... etc.
 

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