Dugantrain
I Love Pants
- Local time
- Yesterday, 22:50
- Joined
- Mar 28, 2002
- Messages
- 221
Hi all. I'm trying to do a pretty quirky task, but it should get the results that I need:
-I'm importing data daily from an Excel worksheet. The worksheet is not constant; Project Managers will be adding columns, deleting, etc. When I use TransferSpreadsheet, Access's guesses as to the columns' data types are all wrong and it ends up rejecting data. So, if possible, I'd like to Transfer this Spreadsheet into a new Temp Table, specify "Has Column Names" as false so that Access will pull everything in as text (the Spreadsheet Headings are always text), and then, after the data is safely in Access, change the column headings from F1, F2...Fn to the column headings of the first row (and then, of course, delete that first row). I know that this is an odd way of doing things, but everything else that I've tried has been a dead end because of Access's poor data type decisions.
-I'm importing data daily from an Excel worksheet. The worksheet is not constant; Project Managers will be adding columns, deleting, etc. When I use TransferSpreadsheet, Access's guesses as to the columns' data types are all wrong and it ends up rejecting data. So, if possible, I'd like to Transfer this Spreadsheet into a new Temp Table, specify "Has Column Names" as false so that Access will pull everything in as text (the Spreadsheet Headings are always text), and then, after the data is safely in Access, change the column headings from F1, F2...Fn to the column headings of the first row (and then, of course, delete that first row). I know that this is an odd way of doing things, but everything else that I've tried has been a dead end because of Access's poor data type decisions.