Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default OLEDB Error reading Header Name ("State")

Hi,

I am using Jet.OleDb.4.0 and using OLEDB reader to read csv file using
DataReader. If the column name in CSV file is STATE then DataReader.GetName
(index) returns FileName#.csv.State.

It works fine with excel and all other names are fine with CSV. If I change
the column header to Stat then everything works fine. How could i resolve
this issue without changing the header name in excel file

Thanks,

PP

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting "State" Column onto separate worksheets in same workbook. kjstec Excel Worksheet Functions 2 January 15th 08 07:59 PM
Listbox header inside VBA (Array("Head1", "Head2", ...) Alex St-Pierre Excel Programming 2 October 25th 06 09:28 PM
What is Error "Method "Paste" of object "_Worksheet" failed? vat Excel Programming 7 February 17th 06 08:05 PM
Is there a diferent "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" George Excel Programming 1 April 16th 04 02:31 PM
reading variable "from" and "to" ZIP codes Dan Wasser[_2_] Excel Programming 2 January 9th 04 01:36 PM


All times are GMT +1. The time now is 07:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"