>But it halts at the line in my code that opens the dbf file, because it can't find the dbf file. The dbf file is in the same directory as the EXE. Why can't the program now find it?
Because the EXE's current directory is not the same directory that contains the DBF. Any CD commands in your EXE? Anything in the CONFIG.FPW that would point it to another directory?
Mike Stewart