I've read through a lot of posts about transferring data, but none seem to be able to help me. I'm hoping I can find a little expertise here..
I have a table "MASS" that has 16 fields. This table used to be updated daily via a macro that pulled in data from 5 different TXT files. Those TXT files are no longer available and I now have to update this information from an XLS spreadsheet. The positive side is that i only have 1 spreadsheet vs the 5 TXT files.
I have edited the macro and i can get the new XLS file to import (Currently importing as MASS IMPORTS table); but the field names in the table do not match (First Row contains Field Names). This is a HUGE problem since the MASS table has around 40+ dependancies.
I have gone in to MASS IMPORT table settings and have renamed the fields to match the old MASS table but when I try to import new data via the macro I get errors since the field names do not match. I've tried importing with and without field names (Field names change to F1, F2, etc..) and rename those, same error. I have tried to edit the field names during the initial import/table setup and will get the same error when trying to update.
I had been trying to 'transfer' the data from one table to the next, but that hasn't worked either. I have to basically whipe the tables first; i don't want to overwrite because one import may have 20 lines, the next may have 30 or 15.. it will vary day to day. So, there are no fields that I can link between these two tables... (I don't think).
I have even gone so far as to start editing the 40+ dependancies and replace all the MASS table references to MASS IMPORT table ones. But for some reason when I get to certain queries Access will crash... That one is WIERD....
Anyone out there know what I might be doing wrong or how I can get this data into my DB in the right format/etc..???
Thanks!!!
I have a table "MASS" that has 16 fields. This table used to be updated daily via a macro that pulled in data from 5 different TXT files. Those TXT files are no longer available and I now have to update this information from an XLS spreadsheet. The positive side is that i only have 1 spreadsheet vs the 5 TXT files.
I have edited the macro and i can get the new XLS file to import (Currently importing as MASS IMPORTS table); but the field names in the table do not match (First Row contains Field Names). This is a HUGE problem since the MASS table has around 40+ dependancies.
I have gone in to MASS IMPORT table settings and have renamed the fields to match the old MASS table but when I try to import new data via the macro I get errors since the field names do not match. I've tried importing with and without field names (Field names change to F1, F2, etc..) and rename those, same error. I have tried to edit the field names during the initial import/table setup and will get the same error when trying to update.
I had been trying to 'transfer' the data from one table to the next, but that hasn't worked either. I have to basically whipe the tables first; i don't want to overwrite because one import may have 20 lines, the next may have 30 or 15.. it will vary day to day. So, there are no fields that I can link between these two tables... (I don't think).
I have even gone so far as to start editing the 40+ dependancies and replace all the MASS table references to MASS IMPORT table ones. But for some reason when I get to certain queries Access will crash... That one is WIERD....
Anyone out there know what I might be doing wrong or how I can get this data into my DB in the right format/etc..???
Thanks!!!