Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating XLS Files
Message
De
03/02/2004 21:41:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/02/2004 21:10:28
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00873719
Message ID:
00873723
Vues:
25
You might do the following:

1) Copy to..., as you outlined.
2) Open the file in Excel, delete the first row, and save it again.

Provided you have Excel properly installed, the second step can be controlled from VFP.

HTH,

Hilmar.

>I am converting a .dbf file to an Excel File by using the command below:
>
>COPY FIELDS FIELD1, FIELD2 .......... TO C:\TEMP\FILE1 TYPE XLS
>
>This command creates an Excel file but the first row of the Excel file has the field names from the .dbf file.
>
>I would like to create the Excel file without that first row.
>
>I have tried adding the parameter OFF to the command and that doesn't work.
>
>If anyone has a solution for this. I would be pleased to hear from you.
>
>Mike Smith
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