The backslash is in the path variable. what is "addbs"?
>Looks like you are missing a backslash:
>Copy To (addbs(gsDbfPath) + 'somefile.xls') type XLS
>
>
>>Here is a good one. I always use variable's to hold a path to various servers. Example: (gsDbfpath = '\\someserver\somedirectory'). Command: Copy To (gsDbfPath+'somefile.xls') type XLS.
>>
>>All of a sudden VFP does not like this. I now get a 'File Access Denied' error when this line of code runs. if I put (gsDbfPath+'somefile.xls') in a variable it works. Does anyone know why. I have quite a number of apps I use this syntax in without ANY problems. I did recompile the app but had not changed anything other than updating a report. I am concerned.
>>
>>Thanks in advance, Chuck
Extreme Programming = Plan -> Design -> Code -> Test