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

MBS FileMaker Plugin Example Databases

CountDown

All examples are included with download of MBS FileMaker Plugin.

CountDown.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists0
Custom Functions0
Custom Menus24
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
CountDown
4 fields defined, 1 record
CountDown

Fields

Table Name: CountDown - 4 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
IDNormal, TextAuto-Enter:
  • Context table: CountDown
    Calculation: Get( UUID )
Validation:
  • Only during data entry
  • Not empty
  • Unique
  • Strict validation
Storage:
  • Repetitions: 1
  • Indexing: Minimal
  • Automatically create indexes as needed
  • Index Language: Unicode Raw
        Target TimeNormal, TimestampAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German
              Time LeftNormal, TimeAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                    CalculationNormal, TextAuto-Enter:
                    • Allow editing
                    Validation:
                    • Only during data entry
                    Storage:
                    • Repetitions: 1
                    • Indexing: None
                    • Automatically create indexes as needed
                    • Index Language: German

                        Layout Objects: CountDown

                        Regular Fields

                        Field Name: CountDown::Target Time
                        Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                        • Top: 46 pt
                        • Left: 138 pt
                        • Bottom: 77 pt
                        • Right: 324 pt
                        • Anchoring: Left, Top
                        Field Format:
                        • Edit Box
                        Field Behavior:
                        • Allow field to be entered: In Find mode, In Browse mode
                        • Touch keyboard type: Default for Data Type
                        • Go to next field using: Tab key
                        Yes

                        Field Name: CountDown::Time Left
                        Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                        • Top: 81 pt
                        • Left: 138 pt
                        • Bottom: 112 pt
                        • Right: 324 pt
                        • Anchoring: Left, Top
                        Field Format:
                        • Edit Box
                        Field Behavior:
                        • Allow field to be entered: In Find mode, In Browse mode
                        • Touch keyboard type: Default for Data Type
                        • Go to next field using: Tab key
                        Yes

                        Field Name: CountDown::Calculation
                        Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                        • Top: 188 pt
                        • Left: 138 pt
                        • Bottom: 537 pt
                        • Right: 733 pt
                        • Anchoring: Left, Top
                        Field Format:
                        • Edit Box
                        Field Behavior:
                        • Allow field to be entered: In Find mode, In Browse mode
                        • Touch keyboard type: Default for Data Type
                        • Go to next field using: Tab key
                        Yes

                        Buttons

                        Button PropertiesCoordinatesScript/Script Step
                          Type:
                        • Text: Start Timer
                        • Top: 145 pt
                        • Left: 194 pt
                        • Bottom: 183 pt
                        • Right: 309 pt
                        • Anchoring: Left, Top
                        Perform Script [ “Start” ]

                        Scripts:


                        Button PropertiesCoordinatesScript/Script Step
                          Type:
                        • Text: Set 1 Minute in future
                        • Top: 46 pt
                        • Left: 335 pt
                        • Bottom: 77 pt
                        • Right: 569 pt
                        • Anchoring: Left, Top
                        Set Field [ CountDown::Target Time; Get(CurrentTimestamp) + 60 ]

                        Fields:


                        Script Hierarchy

                        Start
                        Finished

                        Next Script: [Finished]
                        Script NameStart
                        Run script with full access privilegesOff
                        Include In MenuNo
                        Layouts that use this script
                        Scripts that use this script
                          Script Definition
                          Script Steps
                          • Commit Records/Requests
                          • Set Variable [ $Calculation; Value:Substitute ( CountDown::Calculation ; "$$ID" ; "\"" & CountDown::ID & "\"" ) ]
                          • Set Variable [ $$TimerID; Value:MBS( "Schedule.EvaluateAfterDelay"; ,1; $Calculation; ""; ""; 1 ) ]
                          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

                                  Previous Script: [Start]
                                  Script NameFinished
                                  Run script with full access privilegesOff
                                  Include In MenuYes
                                  Layouts that use this script
                                    Scripts that use this script
                                      Script Definition
                                      Script Steps
                                      • Show Custom Dialog [ Message: "Countdown done."; Default Button: “OK”, Commit: “Yes” ]
                                      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: CountDown

                                                    Used functions: