pbuethe
Returning User
- Local time
- Today, 03:02
- Joined
- Apr 9, 2002
- Messages
- 210
I am exporting an Excel file into a new table in Access using the TransferSpreadsheet method. The data starts out in a UNIX/Pick system. I had been exporting the data first to a .DBF (Dbase IV) file, then saving the file as Excel, then using TransferSpreadsheet to transfer the Excel file to the Access table.
Then I decided to try exporting directly from Pick to Excel and then to Access (TransferSpreadsheet apparently will not use Dbase files). The export from Pick to Excel worked, except that 2 fields (including the key field) lost leading zeroes that I wanted to preserve. Wanting to avoid having to open the Excel file, change the format, and re-save the file since that would not save any steps, I put a format code in the design of the table field. When I tried TransferSpreadsheet, I got the message 'the file "I:\URTracking\SURLOG.XLS" doesn't contain any data'. Checking the file, it does contain the data (except for the leading zeroes as I have described). I tried it again without the format code in the field design and got the same message.
What can be causing this message? Can it be related to the leading zeroes? Also, is there a way to either: automatically save the Dbase file as Excel? or:
automatically change the format of the Excel fields?
I am trying to do as much as possible automatically.
Thanks for your assistance.
Then I decided to try exporting directly from Pick to Excel and then to Access (TransferSpreadsheet apparently will not use Dbase files). The export from Pick to Excel worked, except that 2 fields (including the key field) lost leading zeroes that I wanted to preserve. Wanting to avoid having to open the Excel file, change the format, and re-save the file since that would not save any steps, I put a format code in the design of the table field. When I tried TransferSpreadsheet, I got the message 'the file "I:\URTracking\SURLOG.XLS" doesn't contain any data'. Checking the file, it does contain the data (except for the leading zeroes as I have described). I tried it again without the format code in the field design and got the same message.
What can be causing this message? Can it be related to the leading zeroes? Also, is there a way to either: automatically save the Dbase file as Excel? or:
automatically change the format of the Excel fields?
I am trying to do as much as possible automatically.
Thanks for your assistance.