FUNCTION buildenable PRIVATE m.stat, m.stat2 m.stat = opendb(g_mnxfile[1]) AND openfile() && <<== ERROR OCCURRING HERE IF m.stat SET TEXTMERGE ON ENDIF RETURN m.statI have placed a SET STEP ON in the code and verified that the g_mnxfile[1] has the name of the menu file with the full path. I am at a loss of what is causing this error...