LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.data.odbc,microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel's ODBC driver's field limit

I'm trying to import this Excel file using the Excel ODBC driver, but
its failing on this one file that has at least 256 columns. The error
message is "{ODBC Excel Driver] Too many fields defined." The statement
I'm using to perform the query is SELECT * `<table name` WHERE 1. Is
this a problem of * being too many columns? Is there anyway around
this, such as making the connection read-only, or forward scrolling
only, or any other restrictions that I can live with? Read-only and
forward scrolling are 2 such restrictions.

Also, how do I identify the error code returned? Right now I'm
getting -1040 as an error, but is there a more abstract way of
detecting this error? I'm developing under VC++6.0, btw, so I might not
be using the same environment as you.

 
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
MS Query via ODBC cannot read Integer field from FoxPro...what's w CJ Excel Discussion (Misc queries) 0 August 26th 08 01:43 AM
Planner for Driver's weekly journeys davidjt Charts and Charting in Excel 0 October 2nd 06 11:22 AM
how do i TRUNC a date field using SQL Server ODBC ? Nick Newton Excel Discussion (Misc queries) 0 June 22nd 06 02:17 PM
Excel2000: Calculated field name in ODBC Query Arvi Laanemets Excel Discussion (Misc queries) 0 March 8th 06 12:16 PM
Dealing with Excel's Word-Wrap Limit T Kirtley Excel Programming 1 December 22nd 04 01:54 AM


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

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

About Us

"It's about Microsoft Excel"