Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IMPORT FROM XLS fails
Message
De
01/04/2014 11:08:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
IMPORT FROM XLS fails
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597888
Message ID:
01597888
Vues:
55
lcFile = GETFILE("xls*")
TRY
     IMPORT FROM (lcFile) XLS
CATCH
    ** catch block assumes you're trying to import XLSX file so it opens it and then saves it as XLS 
ENDTRY
When I execute the IMPORT command VFP simply exits. No error messages. No CATCH commands. No "Send to Microsoft". No nothing.

I'm sure it has something to do with the spreadsheet and I think it has to do with the spreadsheet having macros in it.

Can somebody please enlighten me about conditions which could cause this kind of behavior?

Thanks to all.........Rich
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform