Hi Virgil:

Have you tried using SqlStringConnect and SqlExec?

This is a basic example from Spanish VFP Group on Google:

https://groups.google.com/d/msg/publicesvfoxpro/xR4ZG1BrsHc/6rx511dukXcJ


And this a page with the connection strings for different versions of Excel:

http://www.connectionstrings.com/excel/



Regards.-



2014-09-04 19:44 GMT+02:00 Virgil Bierschwale <[email protected]>:

> Thanks.
> This was pretty massive with about 35 columns and over 400,000 rows at
> about
> 80 MB, but this will work on some others that I'm putting together.
>
> -----Original Message-----
> From: ProFox [mailto:[email protected]] On Behalf Of Paul Hill
> Sent: Thursday, September 04, 2014 12:42 PM
> To: ProFox Email List
> Subject: Re: [NF] xampp
>
> On 4 September 2014 18:28, Virgil Bierschwale <[email protected]> wrote:
> > But, while doing all of this, I ran across a program that will read in
> > the spreadsheet and create a SQL Insert statement for me that works
> > even better because there was garbage in the spreadsheet, and doing it
> > via VFP, I could program out those errors.
>
> If the data is not too complex you can do this in Excel.
>
> Suppose you have 2 columns, A & B.  In column C enter a formula:
>
> ="INSERT INTO xxx (Name,Address) VALUES ('" & A1 & "', '" & B1 & "')"
>
> Not tested, but I'm sure you get the idea!
>
> --
> Paul
>
[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/cagq_jukdyuma-mmxcydk3ew+xaoukp+-0ybfb9trbtcbwpp...@mail.gmail.com
** 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