Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting to Excel5
Message
De
13/12/1999 10:54:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/12/1999 10:38:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00302717
Message ID:
00302755
Vues:
24
>Cetin,
>
>>It's not fault of VFP but Excel. Excel5 had only 16384 rows. Try a copy with type xl8 or xls.
>
>Type xl8 is not valid on export, only on import.
>
>Kjell,
>
>xls and xl5 both have this limitation. The only way to export it is to break it into 16K chunks of records, and combine in excel after you have exported it, or to do OLE Automation to poke the records through.
>
>Cheers
>Steve Lea


You're right onlimitations :) Then this works as an easy alternative to combining chunks :
create cursor mytest (orderno i, ttime t, productname c(10))
for ix = 1 to 50000
 insert into mytest values (ix, datetime() - ix*5, "Prod"+padl(ix,5,"0"))
endfor
copy to myxls.xls type delimited with tab
oExcel = createobject("Excel.Application")
with oExcel
 .WorkBooks.Open(sys(5)+curdir()+"myxls.xls",)
 .visible = .t.
endwith
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