Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant seem to import xls file
Message
De
15/02/2017 13:19:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01647967
Message ID:
01647993
Vues:
39
J'aime (1)
>>>My code is
>>>
>>>CLEAR
>>>CLEAR ALL
>>>USE c:\global\globalin IN 0 EXCLUSIVE
>>>SELECT globalin
>>>ZAP
>>>append FROM j:\global\ss\aaa.xls TYPE xls
>>>
>>>Microsoft Excel file format is invalid
>>>
>>>
>>>
>>>What am I doing wrong?
>>
>>Aside from Martina's suggestion that it's actually an XLSX, also try type XL5.
>>
>>Tamar
>
>
>Can I upload the file for you to see - I have tried type xl5 - makes no difference

I saw that you said it is XLS. By any chance, did you create it by saving it from a newer version of Excel (2007 or later). The XLS files created there are different than the ones created by earlier versions and VFP can't import them. I consider it a bug in Excel, but Microsoft has no intention of fixing it.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform