Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help With: Copy To in Macro Command
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Help With: Copy To in Macro Command
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01248353
Message ID:
01248353
Vues:
69
I have the following:
lcCmd=[Copy To ]+thisform.exportfilename1+[ DELIMITED]
&lcCmd
Where thisform.exportfilename1="C:\Documents and Settings\kirk\My Documents\0001_NHSN_JUL07.CSV DELIMITED"

and lcCmd ends up being:

"Copy To C:\Documents and Settings\kirk\My Documents\0001_NHSN_JUL07.CSV DELIMITED"

When the code runs I get the following error:
"Command contains unrecognized phrase/keyword."

But I think is is because of the long file name with the spaces. If I just change it to c:\0001_NHSN_JUL07.CSV
it all works.

Thanks

Kirk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform