MBS FileMaker Plugin Example Databases

Time Measurement

All examples are included with download of MBS FileMaker Plugin.

Time Measurement.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts3
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
Time Measurement
2 fields defined, 0 record
Time Measurement

Fields

Table Name: Time Measurement - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
TimeNormal, NumberAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      TimeStampNormal, TimestampAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

          Layout Objects: Time Measurement

          Regular Fields

          Field Name: Time Measurement::Time
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 42 pt
          • Left: 48 pt
          • Bottom: 56 pt
          • Right: 241 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: Time Measurement::TimeStamp
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 42 pt
          • Left: 312 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: Now
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 6 pt
          • Left: 186 pt
          • Bottom: 31 pt
          • Right: 265 pt
          • Anchoring: Left, Top
          Perform Script [ “RecordTime” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Test a second
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 6 pt
          • Left: 276 pt
          • Bottom: 31 pt
          • Right: 373 pt
          • Anchoring: Left, Top
          Perform Script [ “TestSecond” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Test quick
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 6 pt
          • Left: 384 pt
          • Bottom: 31 pt
          • Right: 481 pt
          • Anchoring: Left, Top
          Perform Script [ “TestQuick” ]

          Scripts:


          Script Hierarchy

          RecordTime
          TestSecond
          TestQuick

          Next Script: [TestSecond]
          Script NameRecordTime
          Run script with full access privilegesOff
          Include In MenuYes
          Layouts that use this script
          Scripts that use this script
            Script Definition
            Script Steps
            • New Record/Request
            • Set Field [ Time Measurement::Time; MBS("SystemInfo.Time") ]
            • Set Field [ Time Measurement::TimeStamp; Get ( CurrentHostTimestamp ) ]
            • Commit Records/Requests [ No dialog ]
            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: [RecordTime]Next Script: [TestQuick]
                    Script NameTestSecond
                    Run script with full access privilegesOff
                    Include In MenuYes
                    Layouts that use this script
                    Scripts that use this script
                      Script Definition
                      Script Steps
                      • #Here we measure how long a 1 Second script pause is.
                      • New Record/Request
                      • Set Field [ Time Measurement::Time; MBS("SystemInfo.Time") ]
                      • Set Field [ Time Measurement::TimeStamp; Get ( CurrentHostTimestamp ) ]
                      • Commit Records/Requests [ No dialog ]
                      • Pause/Resume Script [ Duration (seconds): 1 ]
                      • New Record/Request
                      • Set Field [ Time Measurement::Time; MBS("SystemInfo.Time") ]
                      • Set Field [ Time Measurement::TimeStamp; Get ( CurrentHostTimestamp ) ]
                      • Commit Records/Requests [ No dialog ]
                      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: [TestSecond]
                              Script NameTestQuick
                              Run script with full access privilegesOff
                              Include In MenuYes
                              Layouts that use this script
                              Scripts that use this script
                                Script Definition
                                Script Steps
                                • #here you can see how fast Filemaker actually can write a record.
                                • New Record/Request
                                • Set Field [ Time Measurement::Time; MBS("SystemInfo.Time") ]
                                • Set Field [ Time Measurement::TimeStamp; Get ( CurrentHostTimestamp ) ]
                                • Commit Records/Requests [ No dialog ]
                                • New Record/Request
                                • Set Field [ Time Measurement::Time; MBS("SystemInfo.Time") ]
                                • Set Field [ Time Measurement::TimeStamp; Get ( CurrentHostTimestamp ) ]
                                • Commit Records/Requests [ No dialog ]
                                • New Record/Request
                                • Set Field [ Time Measurement::Time; MBS("SystemInfo.Time") ]
                                • Set Field [ Time Measurement::TimeStamp; Get ( CurrentHostTimestamp ) ]
                                • Commit Records/Requests [ No dialog ]
                                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: Time Measurement

                                        Used functions:




                                        Links
                                        MBS Xojo Chart Plugins