Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 36
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00874151
Message ID:
00874155
Vues:
28
This message has been marked as the solution to the initial question of the thread.
Use name expression instead macrosustitution...
COPY FILE (lcFileName) TO (lcNewName) 
I document this behavior at this article:

--- Trabajar con archivos con espacios ---
http://www.portalfox.com/article.php?sid=391

HTH

>Hi all

>The following code gives me an error 36, in the line
COPY FILE &lcFileName TO &lcNewName
>but cannot identify that it is what I am making bad, I need its aid
>LOCAL lcFileName,lcNewName
>lcFileName = GETPICT("JPG", this.Caption)

>IF !EMPTY(lcFileName)
>* lcNewName = "F" + TRIM(sea210.clave) + ".JPG" &&with the table
>lcNewName = "F" + "12018" + ".JPG"
>COPY FILE &lcFileName TO &lcNewName
>ENDIF
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform