Re: Excel Reading Pb
- From: yannis <none@xxxxxxxxxx>
- Date: Fri, 21 Mar 2008 15:52:45 +0200
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)
.
- Follow-Ups:
- Re: Excel Reading Pb
- From: Bala
- Re: Excel Reading Pb
- References:
- Excel Reading Pb
- From: Bala
- Excel Reading Pb
- Prev by Date: Excel Reading Pb
- Next by Date: Re: Excel Reading Pb
- Previous by thread: Excel Reading Pb
- Next by thread: Re: Excel Reading Pb
- Index(es):
Relevant Pages
|