Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Excel Spreadsheet to Cursor
Message
De
12/07/2012 20:28:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01548424
Message ID:
01548432
Vues:
70
>>We have an Excel 2007 spreadsheet that we need to turn into a cursor. Excel 2007 doesn't support Save As DBF anymore so I need a different solution. My first thought was to save it as an XML file and then use VFP to create a cursor. Accordingly I tried.......
>>
>>
=XMLTOCURSOR(GETFILE("xml"),"myCursor",512)
>>
>>This "works" in the sense that a cursor gets created. Unfortunately the cursor contains the Document Properties (LastAuthor, Created, Lastsaved, Version, etc.)
>>
>>Is there a way in Excel to Save as XML but without this information?
>>
>>Is there a way in VFP to bypass this information and right to the "real" data?
>>
>>Is there a better approach?
>>
>>Thanks to all...........Rich
>
>I've been using Craig Boyd program for this with one minor caveat - I had troubles saving long memo fields.
>
>http://www.sweetpotatosoftware.com/SPSBlog/2008/09/30/UsingExcel2007FileFormatsInVFP90.aspx

Thanks for the link.......We'll give it a whirl
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform