Results 1 to 2 of 2

Thread: [RESOLVED] CSV oledb issues

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Resolved [RESOLVED] CSV oledb issues

    Hmm. quite odd.

    I have this row of data (first line is heading):

    Heading:
    Code:
    Account Number	Account Name	Account Status 	Account Address 1	Account Address 2	Account Address 3	Account City	Account Country	Account Post Code
    Data:

    Code:
    ACA001	UPDATE	2	Centrum UPDATE	UPDATE	 	CITY UPDATE	COUNTRY 	1081 HV
    it reads it fine but refuses to read the postcode (1081 HV)

    just an empty string. no exceptions when reading the CSV.

    connection string im using:

    Code:
    Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=\"Text;HDR=Yes;IMEX=1;FMT=Delimited\""

    thoughts?

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: CSV oledb issues

    fixed.

    in registry modify this (for 64 bit OS... not sure about 32 bit)

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Jet\4.0\Engines\Text

    Set "MaxScanRows" to 0 decimal and "ImportMixedTypes" to "Text"

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width