Conflicting modes supplied

You used an Open statement to try to open a file in a mode that is incompatible with its access type. For example, opening a file for Output that has Read access causes this error.

If you intended to open this file, change either the file's access type, or change the For clause specification in the Open statement.