Hi, I have inherited an Access 2007 db. Previously they were importing an excel spreadsheet into a junk table and then running a append query to route the data into the master table. The only reason they used the junk table is because we have more fields in the master than the original source excel file has, and it seems there is no way to append the data directly to the master table.
So, I'm trying to create an "update" macro that will do the import and run the append query. But when I do, I find transferspreadsheet fails because the original excel spreadsheet has a field/column called "tracking/control no." The error I get in Access is that there is no matching "tracking/control#" field. Apparently Access does not like the period at the end, and is replacing it with a #. I tried to change the Access field in the junk table, but it won't allow me to add the period to the end, as it is an invalid character.
So, short of forcing the users to manually change the incoming excel spreadsheet everytime to get rid of the period, how do I get this transferspreadsheet to ignore the period and map it to the field "tracking/control no"?
Thanks,
Derek
So, I'm trying to create an "update" macro that will do the import and run the append query. But when I do, I find transferspreadsheet fails because the original excel spreadsheet has a field/column called "tracking/control no." The error I get in Access is that there is no matching "tracking/control#" field. Apparently Access does not like the period at the end, and is replacing it with a #. I tried to change the Access field in the junk table, but it won't allow me to add the period to the end, as it is an invalid character.
So, short of forcing the users to manually change the incoming excel spreadsheet everytime to get rid of the period, how do I get this transferspreadsheet to ignore the period and map it to the field "tracking/control no"?
Thanks,
Derek