Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 36
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00874151
Message ID:
00874155
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform