>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