Emphasizing what Douglas said:
There's really no point putting that code in a startup form or module.
o If you /do not/ run that code /before/ you release the database for
its first use, then, the user can still use the shift-bypass key to
stop that code from running at all. So it does not achieve its purpose.
o Conversely, if you /do/ run that code before you release the
database for its first use, then, the property is already set, & there
is no point setting it again. That will just waste startup time.
IOW, your suggestion implies, to me, that you might not realize that
the property setting does not affect that run, at all. It only affects
the /next/ run - by which time, it is too late!
Personally, I have a small public procedure GOPROD ("go to production")
which sets all the startup properties the way that I want them for
production. As the last step before I release the database, I just go
to the debug window & type GOPROD. I never call that sub again. So that
code does not cause any further overhead.