M
Mike Thomas
In Access 2000, we are importing Excel spreadsheets into a temporary table
for processing into a permanent table.
One of the columns is a part number which is typically, but not always, made
up of 8 digits. There are a few part numbers containing letters.
The problem is that when there are only numbers in each row of the part #
column, Access imports the column as text on one computer and as a number on
another. The makes for problems in running subsequent queries.
The code for the import is as follows:
DoCmd.TransferSpreadsheet acImport, , "XReceiptLine", strFileName, True
Is there a setting somewhere in Access which can be manipulated, or is there
a better way to assert control over the import?
Thanks
Mike Thomas
for processing into a permanent table.
One of the columns is a part number which is typically, but not always, made
up of 8 digits. There are a few part numbers containing letters.
The problem is that when there are only numbers in each row of the part #
column, Access imports the column as text on one computer and as a number on
another. The makes for problems in running subsequent queries.
The code for the import is as follows:
DoCmd.TransferSpreadsheet acImport, , "XReceiptLine", strFileName, True
Is there a setting somewhere in Access which can be manipulated, or is there
a better way to assert control over the import?
Thanks
Mike Thomas