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

MBS FileMaker Plugin Example Databases

TOTP

All examples are included with download of MBS FileMaker Plugin.

TOTP.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
OnFirstWindowOpenScript: Initialize
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
TOTP
7 fields defined, 1 record
TOTP

Fields

Table Name: TOTP - 7 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
KeyNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      TimeNowNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          TimeStartNormal, NumberAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              TimeStepNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  Digit CountNormal, NumberAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      TOTPNormal, NumberAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          ValidInfoNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German

                              Layout Objects: TOTP

                              Regular Fields

                              Field Name: TOTP::Key
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 114 pt
                              • Left: 138 pt
                              • Bottom: 145 pt
                              • Right: 522 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: TOTP::TimeNow
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 149 pt
                              • Left: 138 pt
                              • Bottom: 180 pt
                              • Right: 522 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: TOTP::TimeStart
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 184 pt
                              • Left: 138 pt
                              • Bottom: 215 pt
                              • Right: 522 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: TOTP::TimeStep
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 219 pt
                              • Left: 138 pt
                              • Bottom: 250 pt
                              • Right: 522 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: TOTP::Digit Count
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 254 pt
                              • Left: 138 pt
                              • Bottom: 285 pt
                              • Right: 522 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: TOTP::TOTP
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 289 pt
                              • Left: 138 pt
                              • Bottom: 320 pt
                              • Right: 522 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: TOTP::ValidInfo
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 324 pt
                              • Left: 138 pt
                              • Bottom: 355 pt
                              • Right: 522 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: Now
                              • Top: 150 pt
                              • Left: 567 pt
                              • Bottom: 180 pt
                              • Right: 700 pt
                              • Anchoring: Left, Top
                              Set Field [ TOTP::TimeNow; MBS("TOTP.CurrentTime") ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Calculate
                              • Top: 285 pt
                              • Left: 567 pt
                              • Bottom: 315 pt
                              • Right: 700 pt
                              • Anchoring: Left, Top
                              Perform Script [ “Calculate TOTP” ]

                              Scripts:


                              Script Hierarchy

                              Calculate TOTP
                              Initialize

                              Next Script: [Initialize]
                              Script NameCalculate TOTP
                              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 [ $time; Value:MBS( "TOTP.CurrentTime" ) ]
                              • Set Field [ TOTP::TimeNow; $time ]
                              • Set Field [ TOTP::TOTP; MBS( "TOTP.Calculate"; TOTP::Key; TOTP::TimeNow; TOTP::TimeStart; TOTP::TimeStep; TOTP::Digit Count ) ]
                              • Set Field [ TOTP::ValidInfo; "Valid for " & (30 - Mod ( $time ; 30 )) & " seconds" ]
                              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: [Calculate TOTP]
                                      Script NameInitialize
                                      Run script with full access privilegesOff
                                      Include In MenuNo
                                      Layouts that use this script
                                        Scripts that use this script
                                          Script Definition
                                          Script Steps
                                          • Set Field [ TOTP::TimeNow; MBS( "TOTP.CurrentTime" ) ]
                                          • Perform Script [ “Calculate TOTP” ]
                                          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: TOTP

                                                Used functions: