Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kei kei is offline
external usenet poster
 
Posts: 2
Default OLE DB provider cannot connect to Excel 2007 with 400 columns

I use a Delphi 7 TADOConnection (e.g. connection1) to connect a Excel 2007
file with about 400 columns in a worksheet, using the following
connectionString:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\temp\exportFG.xlsx;Extended
Properties="Excel 12.0;HDR=YES;"
when I set the connected properties to true, no error occur.
but when i put a TADOTable and set its connection to connection1,
tableDirect = true, only 256 columns can be retrieved!! is this a limitation
of the OLE DB provider for Excel? (I know before Excel 2007, a worksheet has
maximum
256 columns only)

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
How to connect the Excel 2007 in SQL Server 2005? davidshen Excel Worksheet Functions 0 March 24th 08 02:11 AM
how do i connect to Sage Line 50 v12 from Excel 2007? Liciasmum Excel Discussion (Misc queries) 1 February 19th 08 01:32 PM
How to connect two columns in Excel VBA?? [email protected] Excel Worksheet Functions 4 November 12th 05 11:26 AM
Connect columns, with restrictions Philipp Andre Excel Worksheet Functions 3 September 13th 05 04:16 PM
Connect multiple columns in 1 row to another? tb New Users to Excel 1 March 4th 05 09:57 PM


All times are GMT +1. The time now is 11:38 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"