Works on my machine with 2007.

On 11/14/2014 12:28 PM, Fred Taylor wrote:
Never tried that.  Not sure the driver deals with multiple line field names.

Used to get a lot of strangely formatted spreadsheets and the driver wasn't
much use for those.  Used automation to pull the data out from wherever
rows/columns as needed.

Fred

On Fri, Nov 14, 2014 at 12:20 PM, Jeff Johnson <[email protected]> wrote:

Fred:  The first row has two line captions:  Invoice with Number below.
(invoice + crlf + number)


On 11/14/2014 11:50 AM, Fred Taylor wrote:

Hard to understand the problem if you don't know what it is.

I think the driver requires the spreadsheet to have column names in row 1,
could that be it?  (bad name, too long, etc.)

Fred

On Fri, Nov 14, 2014 at 11:39 AM, Jeff Johnson <[email protected]> wrote:

  Fred:  I saw that.  I'm not ignoring you ole buddy, it's that it is only
happening on a production site and not my system so I have to distribute
an
exe with the aerror in it.  I will probably do that anyway.

Thanks,


On 11/14/2014 11:31 AM, Fred Taylor wrote:

  When you get the -1 error, use AERROR() to get the full error
information
to tell you what's wrong.

Fred

On Fri, Nov 14, 2014 at 11:11 AM, Jeff Johnson <[email protected]> wrote:

   So are most of you saying the below parameters should work with 2010?

What about 2013?


On 11/13/2014 1:48 PM, Jeff Johnson wrote:

   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
[email protected]
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.

Reply via email to