• Error 151: Cannot find external name: OPPORTUNITIES_DB on line 52

    By David Secrest 2 decades ago

    When trying to create a new project in the Projects database, I got an error that said:



    Error 151: Cannot find external name: OPPORTUNITIES_DB on line 52



    I fixed it by changing all appearances of "Opportunities" to "Projects" on lines 51-53 in the Initialize sub in the CratchitProductLibrary script library in vic_projects.nsf.

    • Excellent catch

      By Dave Leigh 2 decades ago

      I thought I'd gotten all of those references, but obviously I didn't. I'll go through the design again. Properly, this should have be done in the Config DB, with the library in Products refreshed from that. I'll set it up that way and try to have the fix posted by Sunday.