selectCRName should become select name and not selectNameIf the last two of the strtan (CR and CRLF) are #defined - you can take them out since chr(10) and chr(13) already take care of those
>USE C:\cdbk90\Amline\data1\Teleph IN 0 > cFile = FILETOSTR( 'Temp.txt' ) > =STRTRAN( cFile , CHR(10) , space(1)) > =STRTRAN( cFile , CHR(13) space(1)) > =STRTRAN( cFile , CHR(9) ,space(1)) ) > WAIT WINDOW cfile > > &cfile > BROWSE > >
>USE C:\cdbk90\Amline\data1\Teleph IN 0 > cFile = FILETOSTR( 'Temp.txt' ) > =STRTRAN( cFile , CHR(10) , '' ) > =STRTRAN( cFile , CHR(13) , '' ) > =STRTRAN( cFile , CHR(9) , '' ) > =STRTRAN( cFile , CR , '' ) > =STRTRAN( cFile , CRLF , '' ) > WAIT WINDOW cfile > > &cfile > BROWSE > >>