Re: Excel data problems
- From: DGJ <sd445@xxxxxxx>
- Date: Thu, 23 Nov 2006 20:25:37 +0000
Yipee, that worked just fine, thanks!!!, been banging my head against
the wall for a while on that one :(
Regards
DGJ
On Thu, 23 Nov 2006 14:37:02 +0100, "treok" <h.k.j.keesmaat@xxxxxxxxx>
wrote:
.Hi
I am hooking up an Excel spread*** to an ADO dataset then processing
the records to update an SQL server. This works just fine, except when
some of the first fields in the column contain numbers. i.e.
ConnectionString :
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended
Properties=""Excel 8.0;HDR=Yes;IMEX=1"""
"HDR=Yes;" indicates that the first row contains columnnames, not
data. "HDR=No;" indicates the opposite.
"IMEX=1;" tells the driver to always read "intermixed" data columns as
text. Note that this option might affect excel *** write access negative.
--- posted by geoForum on http://delphi.newswhat.com
- References:
- Excel data problems
- From: DGJ
- Excel data problems
- Prev by Date: Re: Cancelling an ADO Command takes too long
- Next by Date: Re: Excel data problems
- Previous by thread: Excel data problems
- Next by thread: Re: Excel data problems
- Index(es):