Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

Open Database

All examples are included with download of MBS FileMaker Plugin.

Open Database.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Open Database
2 fields defined, 1 record
Open Database

Fields

Table Name: Open Database - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PathNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ResultNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

            Layout Objects: Open Database

            Regular Fields

            Field Name: Open Database::Path
            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
            • Top: 24 pt
            • Left: 138 pt
            • Bottom: 38 pt
            • Right: 553 pt
            • Anchoring: Left, Top
            Field Format:
            • Edit Box
            Field Behavior:
            • Allow field to be entered: In Find mode, In Browse mode
            • Touch keyboard type: System Default
            • Go to next field using: Tab key
            Yes

            Field Name: Open Database::Result
            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
            • Top: 42 pt
            • Left: 138 pt
            • Bottom: 56 pt
            • Right: 553 pt
            • Anchoring: Left, Top
            Field Format:
            • Edit Box
            Field Behavior:
            • Allow field to be entered: In Find mode, In Browse mode
            • Touch keyboard type: System Default
            • Go to next field using: Tab key
            Yes

            Group Buttons

            Button PropertiesCoordinatesScript/Script Step
              Type:
            • Text: Save a copy
              Additional Properties:
            • Change to hand cursor over button
            • Rectangular
            • Top: 84 pt
            • Left: 138 pt
            • Bottom: 109 pt
            • Right: 259 pt
            • Anchoring: Left, Top
            Perform Script [ “Save” ]

            Scripts:


            Button PropertiesCoordinatesScript/Script Step
              Type:
            • Text: Open Database
              Additional Properties:
            • Change to hand cursor over button
            • Rectangular
            • Top: 84 pt
            • Left: 270 pt
            • Bottom: 109 pt
            • Right: 391 pt
            • Anchoring: Left, Top
            Set Field [ Open Database::Result; MBS( "Files.Launch"; MBS( "Files.AppPath" ); Open Database::Path) ]

            Fields:


            Button PropertiesCoordinatesScript/Script Step
              Type:
            • Text: Trace on
              Additional Properties:
            • Change to hand cursor over button
            • Rectangular
            • Top: 216 pt
            • Left: 414 pt
            • Bottom: 241 pt
            • Right: 535 pt
            • Anchoring: Left, Top
            Set Field [ Open Database::Result; MBS( "Trace" ) ]

            Fields:


            Script Hierarchy

            Save

            Script NameSave
            Run script with full access privilegesOff
            Include In MenuYes
            Layouts that use this script
            Scripts that use this script
              Script Definition
              Script Steps
              • Set Variable [ $documentPath; Value:Get(DocumentsPath) ]
              • Set Variable [ $path; Value:$documentPath&"test.db" ]
              • Save a Copy as [ “file:$path” ] [ copy of current file ]
              • Set Variable [ $path; Value:MBS( "Path.FilemakerPathToNativePath"; $path) ]
              • Set Field [ Open Database::Path; $path ]
              Fields used in this script
              Scripts used in this script
                Layouts used in this script
                  Tables used in this script
                  Table occurrences used by this script
                  Custom Functions used by this script
                    Custom menu set used by this script

                      Download example: Open Database

                      Used functions: