Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO TYPE XL5 limitation?
Message
De
26/10/2000 10:01:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/10/2000 09:43:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00422500
Message ID:
00434546
Vues:
14
>Cetin,
>
>Thanks for you reply! I like your SaveAs() idea. It's simple and very fast! I've changed my original wrapper to use your idea. It runs almost as fast as the native COPY TO command. As far as the Excel row limitation is concerned, I don't care in my case and simply return an error code. I currently create a lot of pivot tables using automation. Should I ever run into this limitation (65K), I believe it's better to keep the data external anyway.
>

Daniel,
Glad it helped. Just an addition to code. Instead of hardcoding 65536 into code I suggest you get it from Excel (see lnMaxRows in second code sample). It might increase in Excel20xx :) Since Excel object is ready I think that portion would just get milliseconds.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform