Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message baffling
Message
From
29/12/2006 13:53:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01180942
Message ID:
01180944
Views:
16
>This code worked fine on all systems but now suddenly only works on mine and the users now get "File does not exist" Could this be a security issue given the file DOES in fact exist?
>
>name='MARTIN' (user dependant)
>
>USE p:info2
>COPY STRUCTURE to c:\csu-zeta\&name
>USE c:\csu-zeta\&name excl
>zn='P:_'+name+'.txt'
>*DO quickmsg WITH zn
>APPEND FROM &zn delimited <<==ERROR "File does not exist"

If file name contains spaces,slashes,dashes etc. then you should't use macro, use parenthesis instead: Append From (myfilename)
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform