If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Linking Excel Files in Access
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... |
#2
|
|||
|
|||
Linking Excel Files in Access
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. -- Build a little, test a little. "watsonscotta" wrote: 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... |
Thread Tools | |
Display Modes | |
|
|