Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added images and information about startup global variable initialization

...

Provides supplemental security to the file, in that the startup layout and table contain no fields or elements which are immediately accessible.

Empty Startup Table

Image Added

Blank Startup Layout

Image Added

Info
titleStartup Variables

Using a simple text object on the Startup layout can optionally be used to load data into global variables. By utilizing FileMaker's conditional formatting on this text block, any number of global variables can be initialized. The biggest advantage to this implementation is centralized initialization of global variables - instead of potentially be spread across multiple startup subscripts. The conditional formatting code reads as follows.

EvaluationError ( Evaluate ( Self ) )

The text block is preferably situated in the right hand portion of the layout and anchored to the right. By providing a left based indent on the text block, a small portion of the text block should transverse the layout's right most boundary. This will ensure the evaluation of the conditional formatting.

See the Standards Template File for FileMaker 12

Image Added

Startup File Options

Image Added

By using the low impact startup layout within the File's options, the file is always guaranteed to open with minimal impact. It is loading a table with no fields or data. Using the Script Triggers within the File's Options and a dedicated startup script is the preferred method for targeting the proper initial layout for the solution.