Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Cocoon - MVC web framework based on XML/XSL
Lucene - Full-featured text search engine APIs
Log4J - A log library
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Reading XLS via ODBC - SQLException

Reading XLS via ODBC - SQLException

2003-02-05       - By Danny Mui

 Back
Reply:     1     2     3     4     5     6     7     8  

I'm sorry Eric, I just created an Excel '97 spreadsheet and it still had
this error.

I used the 5/4/2001 drivers so maybe they have a newer version to
correct this but in the meantime you have a workaround.

danny

Eric Hsiung wrote:

>>Have you tried using numerical indices instead of column
>>names?  Other
>>than that, never had to do anything this way :)
>>    
>>
>
>By index, I get an "Invalid descriptor index" error.
>It seems that the number of fields is off by one.
>For example, I can run the following queries:
>  select * from [Data$]
>  select Column0 from [Data$]
>  select Column0, Column1 from [Data$]
>  select Column0, Column8 from [Data$]
>But this one fails:
>  select Column0, Column1, Column9 from [Data$]
>with a "Too few parameters. Expected 1" error.
>(Remember, the columns are numbered 0 through 9).
>Interestingly, I get the same error when I run
>  select Column0, Column1, random_text_here from [Data$]
>
>  
>
>>If you dont mind me asking, what requirement has you doing this?  Are
>>you using the Excel spreadsheet as a pseudo-database so others can
>>generate reports?
>>    
>>
>
>Not under my control. I work on an app that can export data
>to Excel format. One of our customers is then trying to access
>the Excel data via ODBC. Not sure why they do it this way.
>
>
>Eric
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>To unsubscribe, e-mail: poi-user-unsubscribe@(protected)
>For additional commands, e-mail: poi-user-help@(protected)
>
>  
>



Earn $52 per hosting referral at Lunarpages.