Hello, function copy to delimited errors out. I think the parameter nMode == 1 should be logical parameter and TRUE. Best regards, Otto ELSEIF nFormat == 3 // Delimited ? cFileName //__dbDelim( nMode == 1 , cFileName , cDelim , aFld , ; // bFor , bWhile , nNext , nRec , lRest) __dbDelim( .T. ...