diff --git a/storage/connect/filamdbf.cpp b/storage/connect/filamdbf.cpp
index 29cfb70c116f6bed760ddaa9ae961f2b9135cdcf..74329dc44de2e148a136c019595fb7374a905951 100644
--- a/storage/connect/filamdbf.cpp
+++ b/storage/connect/filamdbf.cpp
@@ -487,7 +487,8 @@ bool DBFFAM::OpenTableFile(PGLOBAL g)
 #ifdef DEBTRACE
  htrc("%s\n", g->Message);
 #endif
-    return (errno == ENOENT) ? PushWarning(g, Tdbp) : true;
+    return (mode == MODE_READ && errno == ENOENT)
+            ? PushWarning(g, Tdbp) : true;
     } // endif Stream
 
 #ifdef DEBTRACE