Andy Davies wrote:
> I do it the other way and use vfp to 'push' data to Excel
>
> If anyone's interested here is how I do it:
>
> My main form has a dataObj with properties for the database connection and
> the name of a view or table of de-normalised data (I'm using a backend
> database but the same techniques would work for fox data).
> An option on the main form (menu, button, click event, w.h.y.) calls a
> modal form with a vfp field picker object on it, the user selects the
> fields they want and click a button to create a spreadsheet from the data.
>
...
..
.
> IF RECCOUNT() > 0 THEN
> cFile = PUTFILE('What name?',ALIAS(),'XLS')
> COPY TO (cFile) TYPE XL5
>
(snipped)
I was rereading old mails of interest and I begun wondering.
The COPY TO ... TYPE XL5 will only copy about 16000 records (VFP6). Is
there a way to override this and copy more (or up to 64000)?
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://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.