Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frx2excel ?
Message
De
25/10/2001 10:28:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00573126
Message ID:
00573183
Vues:
60
This message has been marked as the solution to the initial question of the thread.
>Hi, All!
>I need a generic routine for exporting reports to Excel, something like frx2word. Exact formatting is not necessary. Anyone have suggestions?

One thing you can do is to use _vfp.datatoclip(,,3), which will copy the content of your current alias, from recno() to the last record, in tab delimited format, to the keyboard, field names in the first line.
You can instantiate Excel object then and paste into a new worksheet; Excel does recogize this format and will distribute the content into cells. You'd have to provide a filename etc, but this is still the most lightweight solution I can think of.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform