MBS FileMaker Plugin Example Databases

Registration

All examples are included with download of MBS FileMaker Plugin.

Registration.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
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
Register
5 fields defined, 1 record
Register

Fields

Table Name: Register - 5 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
LicenseeNameNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ComponentNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          LicenseTypeNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              ExpireMonthNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  SerialNumberNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German

                      Layout Objects: Register

                      Regular Fields

                      Field Name: Register::LicenseeName
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 24 pt
                      • Left: 138 pt
                      • Bottom: 38 pt
                      • Right: 391 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: Register::Component
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 42 pt
                      • Left: 138 pt
                      • Bottom: 56 pt
                      • Right: 391 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: Register::LicenseType
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 60 pt
                      • Left: 138 pt
                      • Bottom: 74 pt
                      • Right: 391 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: Register::ExpireMonth
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 78 pt
                      • Left: 138 pt
                      • Bottom: 92 pt
                      • Right: 217 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: Register::SerialNumber
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 96 pt
                      • Left: 138 pt
                      • Bottom: 110 pt
                      • Right: 217 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: Register
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 126 pt
                      • Left: 36 pt
                      • Bottom: 151 pt
                      • Right: 127 pt
                      • Anchoring: Left, Top
                      Perform Script [ “Register” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Store Registration
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 180 pt
                      • Left: 36 pt
                      • Bottom: 206 pt
                      • Right: 169 pt
                      • Anchoring: Left, Top
                      Perform Script [ “StoreRegistration” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Clear Registration
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 180 pt
                      • Left: 180 pt
                      • Bottom: 206 pt
                      • Right: 313 pt
                      • Anchoring: Left, Top
                      Perform Script [ “ClearRegistration” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Is Registered?
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 126 pt
                      • Left: 156 pt
                      • Bottom: 151 pt
                      • Right: 247 pt
                      • Anchoring: Left, Top
                      Perform Script [ “IsRegistered” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Unregister
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 126 pt
                      • Left: 281 pt
                      • Bottom: 151 pt
                      • Right: 360 pt
                      • Anchoring: Left, Top
                      Show Custom Dialog [ Title: "Unregistered"; Message: MBS("Unregister"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                      Script Hierarchy

                      Register
                      StoreRegistration
                      ClearRegistration
                      IsRegistered

                      Next Script: [StoreRegistration]
                      Script NameRegister
                      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 [ $r; Value:MBS( "Register" ;Register::LicenseeName; Register::Component; Register::LicenseType; Register::ExpireMonth; Register::SerialNumber ) ]
                        • Show Custom Dialog [ Title: "Register"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                        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: [Register]Next Script: [ClearRegistration]
                                Script NameStoreRegistration
                                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 [ $r; Value:MBS( "StoreRegistration" ;Register::LicenseeName; Register::Component; Register::LicenseType; Register::ExpireMonth; Register::SerialNumber ) ]
                                  • If [ Get ( LastError ) <> 0 ]
                                  • Show Custom Dialog [ Title: "Error"; Message: Get ( LastError ); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                  • Else
                                  • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                  • End If
                                  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: [StoreRegistration]Next Script: [IsRegistered]
                                          Script NameClearRegistration
                                          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 [ $r; Value:MBS( "ClearRegistration" ;Register::LicenseeName; Register::Component; Register::LicenseType; Register::ExpireMonth; Register::SerialNumber ) ]
                                            • If [ Get ( LastError ) <> 0 ]
                                            • Show Custom Dialog [ Title: "Error"; Message: Get ( LastError ); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                            • Else
                                            • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                            • End If
                                            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: [ClearRegistration]
                                                    Script NameIsRegistered
                                                    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 [ $r; Value:MBS( "IsRegistered" ) ]
                                                      • If [ $r = 1 ]
                                                      • Show Custom Dialog [ Title: "Registration"; Message: "The MBS Plugin is registered."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                      • Else
                                                      • Show Custom Dialog [ Title: "Registration"; Message: "The MBS Plugin is not registered."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                      • End If
                                                      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: Registration




                                                                    Links
                                                                    MBS Xojo PDF Plugins