Re: Excel Reading Pb
- From: "Bala" <bkarat@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 10:26:52 +0530
Thanks Yannis. Now it is working. We had not added IMEX =1, when we added
this everything is fine.
Thanks again.
With regards,
Bala
"yannis" <none@xxxxxxxxxx> wrote in message
news:mn.abb87d830918afc6.0@xxxxxxxxxxxxx
Bala wrote :
Hi !
We are trying to read Excel file from Delphi 5 using ADO.
When the Excel file is fully created by the program, no problem. But when
certain cells are copied from another file and pasted to the file read,
we
find certain field values in the column above the pasted cells are not
read.
never encountered this and I am using ADO to read excel files for the past
5 years now. Something else is moved around with the data pasted try to
key in the data and see if this changes anything.
Another question in this regard, is it recommended to use ADO when the
Excel
file contains multiple rows at the top (in our case 5) before the data
starts. Data of different columns have different data types.
Since you can address the excel file as a dataset you can ignore as much
row as you need before you start reading the actuall data. On the same
regard I never ever use the data type reported by the excel driver I just
assume that all data are coming in as strings and convert them to the
destination data type as needed manually.
regards
Yannis.
--
Problems worthy of attack prove their worth by fighting back.
- Paul Erdos (1913-1996)
.
- References:
- Excel Reading Pb
- From: Bala
- Re: Excel Reading Pb
- From: yannis
- Excel Reading Pb
- Prev by Date: Re: Excel Reading Pb
- Next by Date: TADOConnection.GetFieldNames
- Previous by thread: Re: Excel Reading Pb
- Next by thread: TADOConnection.GetFieldNames
- Index(es):
Relevant Pages
|