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

MBS FileMaker Plugin Example Databases

Address Mapping

All examples are included with download of MBS FileMaker Plugin.

Address Mapping.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
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
Address Mapping
16 fields defined, 4 records
Address Mapping

Fields

Table Name: Address Mapping - 16 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
NameNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
        StreetNormal, TextAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German
              ZipNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                    CityNormal, TextAuto-Enter:
                    • Allow editing
                    Validation:
                    • Only during data entry
                    Storage:
                    • Repetitions: 1
                    • Indexing: None
                    • Automatically create indexes as needed
                    • Index Language: German
                          CountryNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                                AddressNormal, TextAuto-Enter: Validation:
                                • Only during data entry
                                Storage:
                                • Repetitions: 1
                                • Indexing: None
                                • Automatically create indexes as needed
                                • Index Language: German
                                      LatitudeNormal, NumberAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          LongitudeNormal, NumberAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              Address foundNormal, TextAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                    DistanceCalculated, NumberCalculation: Storage:
                                                    • Repetitions: 1
                                                    • Do not store calculation results
                                                    • Index Language: German
                                                        City To CheckNormal, TextAuto-Enter:
                                                        • Allow editing
                                                        Validation:
                                                        • Only during data entry
                                                        Storage:
                                                        • Global
                                                        • Repetitions: 1
                                                        • Index Language: German
                                                            Country to CheckNormal, TextAuto-Enter:
                                                            • Allow editing
                                                            Validation:
                                                            • Only during data entry
                                                            Storage:
                                                            • Global
                                                            • Repetitions: 1
                                                            • Index Language: German
                                                                Latitude to CheckNormal, NumberAuto-Enter:
                                                                • Allow editing
                                                                Validation:
                                                                • Only during data entry
                                                                Storage:
                                                                • Global
                                                                • Repetitions: 1
                                                                • Index Language: German
                                                                    Longitude to CheckNormal, NumberAuto-Enter:
                                                                    • Allow editing
                                                                    Validation:
                                                                    • Only during data entry
                                                                    Storage:
                                                                    • Global
                                                                    • Repetitions: 1
                                                                    • Index Language: German
                                                                        City FoundNormal, TextAuto-Enter:
                                                                        • Allow editing
                                                                        Validation:
                                                                        • Only during data entry
                                                                        Storage:
                                                                        • Repetitions: 1
                                                                        • Indexing: None
                                                                        • Automatically create indexes as needed
                                                                        • Index Language: German
                                                                              Country FoundNormal, TextAuto-Enter:
                                                                              • Allow editing
                                                                              Validation:
                                                                              • Only during data entry
                                                                              Storage:
                                                                              • Repetitions: 1
                                                                              • Indexing: None
                                                                              • Automatically create indexes as needed
                                                                              • Index Language: German

                                                                                    Layout Objects: Address Mapping

                                                                                    Regular Fields

                                                                                    Field Name: Address Mapping::Name
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 84 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 98 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: Address Mapping::Street
                                                                                    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: Address Mapping::Zip
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 120 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 134 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: Address Mapping::City
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 138 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 152 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: Address Mapping::Country
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 156 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 170 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: Address Mapping::Latitude
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 120 pt
                                                                                    • Left: 528 pt
                                                                                    • Bottom: 134 pt
                                                                                    • Right: 607 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: Address Mapping::Longitude
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 138 pt
                                                                                    • Left: 528 pt
                                                                                    • Bottom: 152 pt
                                                                                    • Right: 607 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: Address Mapping::City To Check
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 6 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 20 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: Address Mapping::Country to Check
                                                                                    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
                                                                                    No

                                                                                    Field Name: Address Mapping::Latitude to Check
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 6 pt
                                                                                    • Left: 684 pt
                                                                                    • Bottom: 20 pt
                                                                                    • Right: 763 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: Address Mapping::Longitude to Check
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 24 pt
                                                                                    • Left: 684 pt
                                                                                    • Bottom: 38 pt
                                                                                    • Right: 763 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: Address Mapping::Distance
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 156 pt
                                                                                    • Left: 528 pt
                                                                                    • Bottom: 170 pt
                                                                                    • Right: 631 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: Address Mapping::City Found
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 84 pt
                                                                                    • Left: 528 pt
                                                                                    • Bottom: 98 pt
                                                                                    • Right: 781 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: Address Mapping::Country Found
                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                    • Top: 102 pt
                                                                                    • Left: 528 pt
                                                                                    • Bottom: 116 pt
                                                                                    • Right: 781 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: Lookup address
                                                                                      Additional Properties:
                                                                                    • Change to hand cursor over button
                                                                                    • Rectangular
                                                                                    • Top: 180 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 205 pt
                                                                                    • Right: 245 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “LookupAddress” ]

                                                                                    Scripts:


                                                                                    Button PropertiesCoordinatesScript/Script Step
                                                                                      Type:
                                                                                    • Text: Find people nearby
                                                                                      Additional Properties:
                                                                                    • Change to hand cursor over button
                                                                                    • Rectangular
                                                                                    • Top: 42 pt
                                                                                    • Left: 138 pt
                                                                                    • Bottom: 67 pt
                                                                                    • Right: 271 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “Find” ]

                                                                                    Scripts:


                                                                                    Script Hierarchy

                                                                                    LookupAddress
                                                                                    Find

                                                                                    Next Script: [Find]
                                                                                    Script NameLookupAddress
                                                                                    Run script with full access privilegesOff
                                                                                    Include In MenuYes
                                                                                    Layouts that use this script
                                                                                    Scripts that use this script
                                                                                      Script Definition
                                                                                      Script Steps
                                                                                      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: [LookupAddress]
                                                                                              Script NameFind
                                                                                              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 [ $g; Value:MBS("CLGeocoder.GeocodeAddressString"; Address Mapping::City To Check & ", " & Address Mapping::Country to Check ) ]
                                                                                                • Loop
                                                                                                • Pause/Resume Script [ Duration (seconds): ,1 ]
                                                                                                • If [ MBS("CLGeocoder.Error"; $g) = 1 ]
                                                                                                • Show Custom Dialog [ Title: "Geocoder Error"; Message: MBS( "CLGeocoder.ErrorMessage"; $g ); Default Button: “OK”, Commit: “No”; Button 2: “Cancel”, Commit: “No” ]
                                                                                                • Exit Script [ ]
                                                                                                • End If
                                                                                                • Exit Loop If [ MBS("CLGeocoder.Done"; $g) = 1 ]
                                                                                                • End Loop
                                                                                                • Set Field [ Address Mapping::Latitude to Check; MBS("CLGeocoder.PlacemarkValue"; $g; 0; "location.latitude") ]
                                                                                                • Set Field [ Address Mapping::Longitude to Check; MBS("CLGeocoder.PlacemarkValue"; $g; 0; "location.longitude") ]
                                                                                                • Set Variable [ $r; Value:MBS("CLGeocoder.Close"; $g) ]
                                                                                                • Sort Records [ Keep records in sorted order; Specified Sort Order: Address Mapping::Distance; ascending ] [ Restore; 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: Address Mapping

                                                                                                        Used functions: