Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long File Names
Message
De
07/07/1999 10:29:48
 
 
À
07/07/1999 10:25:32
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00238269
Message ID:
00238276
Vues:
15
>>I am trying to append from an excel spreadsheet and am having problems with the long file names in windows. Below is the code. Let me know if any of you have run across this problem.
>>
>>Thanks
>>
>>xlsfile = GETFILE("xls", "Import File","Import")
>>.
>>.
>>append from &xlsfile type xls
>>
>>This gives me an error "Command contains unrecognized phrase/keyword." because of the spaces in the macro substitution
>>
>>also tried
>>
>>Append from ? type xls
>>
>>but if the user clicks cancel an error occurs, although this allows the long file names.
>
>
>Try this,
>
>append from "&xlsfile" type xls
>
>I tested it with a MODI COMM, but it may work.

That did it.

Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform