Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to Excel, Column Headers
Message
From
04/12/2002 12:31:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00729441
Message ID:
00729516
Views:
15
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform