KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Deactivating startup methods during database conversion
PRODUCT: 4D | VERSION: 11 | PLATFORM: Mac & Win
Published On: March 4, 2009

When converting a database to 4D v11 SQL, you can deactivate the code of the On Startup method to avoid initialization errors:





When the "Do not execute code when opening database (On Startup... methods)" option is checked, all of the code of the On Startup method will be deactivated when the converted database is launched for the first time.

Commented by Jesse Pina on May 22, 2009 at 10:39 AM
To prevent the On Startup method from running during normal operation (meaning not during a conversion), you can use a 4D Link file, specifying the value "false" in the "skip_onstart_method" attribute.
Commented by Atanas Atanassov on March 30, 2009 at 11:22 AM
Highly recommended option! Converted structure should be checked for errors and warnings with MSC before start working with it.