MBS FileMaker Plugin Example Databases

Send Query

All examples are included with download of MBS FileMaker Plugin.

Send Query.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists1
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
OnFirstWindowOpenScript: CleanAtStartup
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Send Query
5 fields defined, 6 records
Send Query

Fields

Table Name: Send Query - 5 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
TypeNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      QueryNormal, 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
              ServerNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Global
              • Repetitions: 1
              • Index Language: German
                  LoginNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Global
                  • Repetitions: 1
                  • Index Language: German

                      Layout Objects: Send Query

                      Regular Fields

                      Field Name: Send Query::Type
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 84 pt
                      • Left: 138 pt
                      • Bottom: 98 pt
                      • Right: 391 pt
                      • Anchoring: Left, Top
                      Field Format:
                      • Pop-up Menu
                      • Display values from: TypeList
                      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: Send Query::Query
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 102 pt
                      • Left: 138 pt
                      • Bottom: 116 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: Send Query::Result
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 120 pt
                      • Left: 138 pt
                      • Bottom: 296 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: Send Query::Server
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 12 pt
                      • Left: 138 pt
                      • Bottom: 26 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
                      No

                      Field Name: Send Query::Login
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 30 pt
                      • Left: 138 pt
                      • Bottom: 44 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
                      No

                      Group Buttons

                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Send Query
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 90 pt
                      • Left: 420 pt
                      • Bottom: 115 pt
                      • Right: 541 pt
                      • Anchoring: Left, Top
                      Perform Script [ “SendQuery” ]

                      Scripts:


                      Value Lists

                      Value List NameSourceValuesOn Layouts
                      TypeListCustom
                      • SQL, Evaluate, Script, MBSVersion

                      Script Hierarchy

                      SendQuery
                      CleanAtStartup

                      Next Script: [CleanAtStartup]
                      Script NameSendQuery
                      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("ServerSocket.SendQuery"; Send Query::Server; 9000; Send Query::Login; Send Query::Type; Send Query::Query) ]
                        • Set Field [ Send Query::Result; $r ]
                        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: [SendQuery]
                                Script NameCleanAtStartup
                                Run script with full access privilegesOff
                                Include In MenuNo
                                Layouts that use this script
                                  Scripts that use this script
                                    Script Definition
                                    Script Steps
                                    • Go to Record/Request/Page [ First ]
                                    • Loop
                                    • Set Field [ Send Query::Result; "" ]
                                    • Commit Records/Requests [ No dialog ]
                                    • Go to Record/Request/Page [ Next; Exit after last ]
                                    • End Loop
                                    • Go to Record/Request/Page [ First ]
                                    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: Send Query

                                            Used functions:




                                            Links
                                            MBS Xojo Chart Plugins