Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from
Message
From
17/10/2002 01:37:56
 
 
To
16/10/2002 22:55:14
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00712159
Message ID:
00712188
Views:
9
>I have a program where I use GETFILE() to get a file name
>
>I then have a line Appe from &xfile sdf and it works FINE on my development machine, but when I send the EXE to my customer, it gives me error 36 which is Command contains unrecognized phrase/ command
>
>Any thoughts????

A macro isn't de facto a bad thing and can even be a Good Thing (tm). That said, if you can use a named expression instead of a macro, do--in general. But in this case, the specific problem probably was spaces in the filename. Consider:
xfile = "c:\my documents\my spreadsheets\My Spreedsheet1.XLS"
append from &xfile sdf
Previous
Reply
Map
View

Click here to load this message in the networking platform