Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to Excel, Column Headers
Message
De
04/12/2002 12:31:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00729441
Message ID:
00729516
Vues:
16
>Excellent! Thank you, Hilmar.

Well, actually, there is another alternative, faster to program, which I use sometimes. Use SELECT to rename fields, and then copy to Excel. However, you can't include spaces, etc., in field names. Automation gives you the greatest flexibility.

Sample of the above:
select field1 as Long_Field_Name_1, field2 as Long_FieldName_2;
  from MyTable;
  into cursor Temp
copy to Temp.xls type xls && or was it EXPORT?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform