| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
MBS FileMaker Plugin Example Databases
MySQL example
All examples are included with download of MBS FileMaker Plugin.
| Overview | |
| Tables | 2 |
| Relationships | 0 |
| Layouts | 2 |
| Scripts | 6 |
| Value Lists | 0 |
| Custom Functions | 0 |
| Custom Menus | 33 |
| File Options | |
| Default custom menu set | [Standard FileMaker Menus] |
| When opening file | |
| Minimum allowed version | 12.0 |
| Login using | Account Name; Account= Admin |
| Allow user to save password | Off |
| Require iOS passcode | Off |
| Switch to layout | Off |
| Hide all toolbars | Off |
| Script triggers | |
| OnFirstWindowOpen | Off |
| OnLastWindowClose | Off |
| OnWindowOpen | Off |
| OnWindowClose | Off |
| OnFileAVPlayerChange | Off |
| Thumbnail Settings | |
| Generate Thumbnails | On; Temporary |
| Table Name |
Statistics
| Occurrences in Relationship Graph |
| tbl_SQL |
10 fields defined, 3 records
| tbl_SQL |
| tbl_customer |
5 fields defined, 5 records
| tbl_customer |
Layout Objects: SQL header and customer list
| Field Name: tbl_customer::FirstName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::LastName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::Birthday | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::NumberOfOrders | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::TotalSales | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_SQL::PathToMySQLLibrary | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No | |
| Field Name: tbl_SQL::Server_and_Database_name | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No | |
| Field Name: tbl_SQL::Username | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No | |
| Field Name: tbl_SQL::Password | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No | |
| Field Name: tbl_SQL::sSQL | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No | |
| Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “CreateDatabase”; Parameter: tbl_SQL::sSQL ] Scripts: Fields: |
|||
| Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “ExportRecord” ] Scripts: |
|||
| Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “Import” ] Scripts: |
|||
| Button Properties | Coordinates | Script/Script Step | |||
|
| Set Variable [ $result; Value:MBS("Trace") ] | |||
| Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “Excecute SQL”; Parameter: //Let ($s = tbl_SQL::sSQL;$s )
tbl_SQL::sSQL ] Scripts: Fields: |
|||
Layout Objects: tbl_customer
| Field Name: tbl_customer::FirstName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::LastName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::Birthday | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::NumberOfOrders | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| Field Name: tbl_customer::TotalSales | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes | |
| CreateDatabase |
| Excecute SQL |
| ExportRecord |
| Import |
| OpenDatabase |
| RegisterMBS |
| Next Script: [Excecute SQL] |
| Script Name | CreateDatabase |
| Run script with full access privileges | Off |
| Include In Menu | Yes |
| 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: [CreateDatabase] | Next Script: [ExportRecord] |
| Script Name | Excecute SQL |
| Run script with full access privileges | Off |
| Include In Menu | Yes |
| 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: [Excecute SQL] | Next Script: [Import] |
| Script Name | ExportRecord |
| Run script with full access privileges | Off |
| Include In Menu | Yes |
| 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: [ExportRecord] | Next Script: [OpenDatabase] |
| Script Name | Import |
| Run script with full access privileges | Off |
| Include In Menu | Yes |
| 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: [Import] | Next Script: [RegisterMBS] |
| Script Name | OpenDatabase |
| Run script with full access privileges | Off |
| Include In Menu | Yes |
| 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: [OpenDatabase] |
| Script Name | RegisterMBS |
| Run script with full access privileges | Off |
| Include In Menu | Yes |
| 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 |
|
Download example: MySQL example
Used functions:- SQL.Commit
- SQL.Connect
- SQL.Execute
- SQL.FetchNext
- SQL.FreeCommand
- SQL.FreeConnection
- SQL.GetFieldAsDate
- SQL.GetFieldAsFloat
- SQL.GetFieldAsNumber
- SQL.GetFieldAsText
- SQL.NewCommand
- SQL.NewConnection
- SQL.SetClient
- SQL.SetConnectionOption
- SQL.SetParamAsDate
- SQL.SetParamAsFloat
- SQL.SetParamAsNumber
- SQL.SetParamAsText