Excel data problems
- From: DGJ <sd445@xxxxxxx>
- Date: Wed, 22 Nov 2006 22:49:11 +0000
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.
Node Name
******************
aa1 1
aa2 1
aa3 2
aa4 2
aa5 James
aa6 Peter
aa7 Tommy
aa8 Sandra
aa9 David // About 50 more
The first column imports OK but the second column only imports the
numbers and exludes any of the names I can fix this to a certain
extent by increasing the MaxScanRows setting to 16, this now imports
all the names but not the numbers.
I know now that the Jet engine scans the first 8 fields to try and
determine the data type, obviously if this is increased it will get
more "text" hits and set the type accordingly.
Is there some way I can import both numeric and text data?
Any help would be appreciated
Thanks
DGJ
.
- Follow-Ups:
- Re: Excel data problems
- From: Mike Shkolnik
- Re: Excel data problems
- Prev by Date: No update of DBGrid based on TADOQuery?
- Next by Date: Re: ADOQuery in thread hangs
- Previous by thread: No update of DBGrid based on TADOQuery?
- Next by thread: Re: Excel data problems
- Index(es):