>>SET DEFAULT TO C:\dept
>>a=TRANSFORM(dtos(DATE()-1), "@R 9999_99")
>>lcPath="c:\dept\"+a
>>set default to (lcPath)&& erorr message
>>gcDelimName = ALIAS( ) + '.xls'&& or xlsx
>>gcDelimfile = forcepath(m.gcDelimName,'c:\dept\&a')
>>
>Did you verify that path lcPath exists?