Ok, so if all the cells are in the text format, why would ANY of the cells
be converted to E-notation? No one single cell in the Excel spreadsheet is
defined as a number.
> > I just confused as to why Access converts the numbers when the cells' data
> > types are defined as text. Why does is the text data type ignored during
[quoted text clipped - 14 lines]
>
> --
Jamie Collins - 09 Aug 2004 08:19 GMT
> Ok, so if all the cells are in the text format, why would ANY of the cells
> be converted to E-notation? No one single cell in the Excel spreadsheet is
> defined as a number.
I think there must be something else going on e.g. your columns are
not formatted Text.
Here's some steps to reproduce (execute individually from any blank
query):
CREATE TABLE
[Excel 8.0;HDR=Yes,Database=C:\Tempo\db;].ENotation
(
MyDataCol VARCHAR(35)
)
;
INSERT INTO
[Excel 8.0;HDR=Yes,Database=C:\Tempo\db;].ENotation
(MyDataCol) VALUES ('12345678901234567890')
;
INSERT INTO
[Excel 8.0;HDR=Yes,Database=C:\Tempo\db;].ENotation
(MyDataCol) VALUES ('0.1234567890123456789')
;
SELECT
MIN(LEN(MyDataCol)) AS shortest_value
FROM
[Excel 8.0;HDR=Yes,Database=C:\Tempo\db;].ENotation
;
I get shortest_value = 20, proving the value was not converted to
e-notation and has not been curtailed.
Jamie.
--