Author: Dennis Schuette
Posted: 2014-11-14 at 08:53:25
I've had that problem when there are more than 255 columns with data - even if blank, causing [select * from someworkbook] to fail.
Customized Business Services, LLC (928) 580-6352
Dennis Schuette Primary: dennis@cbsds.com
350 West 16th Street, Suite 309 Alternate: Schuette.dennis@gmail.com
Yuma, AZ 85364 Map it
-----Original Message-----
From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Jeff Johnson
Sent: Thursday, November 13, 2014 1:48 PM
To: profoxtech@leafe.com
Subject: Excel Driver Not Working
lnsqlhandle = SQLSTRINGCONNECT("Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)}; DBQ=" + lcspreadsheet + ";")
I use the above string to connect to Excel files. It normally does fine with xls and xlsx. Today I have a customer that has Office 2010 installed and it does not work. It returns a -1 which doesn't tell me much.
Do I need to change the connection string for 2010?
--
Jeff
Jeff Johnson
jeff@dcsoftware.com
(623) 582-0323
Please reply to jeff@san-dc.com!
Visit our forum at www.san-dc.com/forum
Register and join in the discussion
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/AE18F449479D7E4688F74460A1B958230D94CC02@DC.cbsds.local
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.