Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPYing numeric data to an XLS
Message
De
23/07/2009 16:27:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01413826
Message ID:
01414057
Vues:
67
>Hi Yossi,
>
>>I have a table with a character field. I COPY it to an XLS. In the case that the data in the field is numeric, I want the data to be numeric in the XLS file.
>
>if you don't have to support Excel 95 and Excel 97, you can create an XML file in XMLSS format. The format is pretty simple:
>
><?xml version="1.0"?>
><Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
> xmlns:x="urn:schemas-microsoft-com:office:excel"
> xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
>  <Worksheet ss:Name="Sheet1">
>    <Table>
>      <Column ss:Width="200"/>
>      <Row>
>        <Cell><Data ss:Type="Number">123.456</Data></Cell>
>      </Row>
>    </Table>
>  </Worksheet>
></Workbook>
>
>At Southwest Fox I'll have a session that covers this format in great detail.

You've certainly whet my appetite, but since I do not know enough about XML, I would need more info in order to implement it.

Thanks,

Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform