Linking Excel Files in Access

  • Thread starter Thread starter watsonscotta
  • Start date Start date
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...
 
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.
 
Back
Top