Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About GETFILE
Message
 
 
To
12/09/2001 10:30:54
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00555491
Message ID:
00555504
Views:
20
>HI,
>
>in my program, i use GETFILE() to get a path & file name as below:
>
>MFILE = GETFILE()
>
>** result i put "C:\MY DOCUMENT FILE\SALES DEPT\my file.txt" for MFILE
>
>copy to &MFILE && <=== error on this line
>
>** a error message will appear on screen, it looks the folder name too long.
>
>what can i do ??

Just use name expression instead of macro, e.g.
copy to (m.mFile)
You also should check, if this variable empty before attempting to copy.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform