MBS FileMaker Plugin Example Databases

Reminders

All examples are included with download of MBS FileMaker Plugin.

Reminders.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts6
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
Reminders
12 fields defined, 0 record
Reminders

Fields

Table Name: Reminders - 12 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
IDNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      priorityNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          isCompletedNormal, NumberAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              completedDateNormal, TimestampAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  dueDateNormal, TimestampAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      calendarNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          notesNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              urlNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  titleNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      dateStampNormal, TimestampAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                            ReminderIDNormal, TextAuto-Enter:
                                            • Allow editing
                                            Validation:
                                            • Only during data entry
                                            Storage:
                                            • Global
                                            • Repetitions: 1
                                            • Index Language: German
                                                CalendarNameNormal, TextAuto-Enter:
                                                • Allow editing
                                                Validation:
                                                • Only during data entry
                                                Storage:
                                                • Global
                                                • Repetitions: 1
                                                • Index Language: German

                                                    Layout Objects: Reminders

                                                    Regular Fields

                                                    Field Name: Reminders::ID
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 66 pt
                                                    • Left: 138 pt
                                                    • Bottom: 80 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: Reminders::priority
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 84 pt
                                                    • Left: 138 pt
                                                    • Bottom: 98 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: Reminders::isCompleted
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 102 pt
                                                    • Left: 138 pt
                                                    • Bottom: 116 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: Reminders::completedDate
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 120 pt
                                                    • Left: 138 pt
                                                    • Bottom: 134 pt
                                                    • Right: 379 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: Reminders::dueDate
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 138 pt
                                                    • Left: 138 pt
                                                    • Bottom: 152 pt
                                                    • Right: 379 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: Reminders::calendar
                                                    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: Reminders::notes
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 174 pt
                                                    • Left: 138 pt
                                                    • Bottom: 188 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: Reminders::url
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 192 pt
                                                    • Left: 138 pt
                                                    • Bottom: 206 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: Reminders::title
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 210 pt
                                                    • Left: 138 pt
                                                    • Bottom: 224 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: Reminders::dateStamp
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 228 pt
                                                    • Left: 138 pt
                                                    • Bottom: 242 pt
                                                    • Right: 379 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: Reminders::ReminderID
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 289 pt
                                                    • Left: 138 pt
                                                    • Bottom: 303 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: Reminders::CalendarName
                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                    • Top: 306 pt
                                                    • Left: 138 pt
                                                    • Bottom: 320 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: All Tasks (Reminders)
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 12 pt
                                                    • Left: 12 pt
                                                    • Bottom: 37 pt
                                                    • Right: 163 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “ListReminders”; Parameter: "all" ]

                                                    Scripts:


                                                    Button PropertiesCoordinatesScript/Script Step
                                                      Type:
                                                    • Text: Create Reminder
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 260 pt
                                                    • Left: 12 pt
                                                    • Bottom: 285 pt
                                                    • Right: 139 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “CreateReminder” ]

                                                    Scripts:


                                                    Button PropertiesCoordinatesScript/Script Step
                                                      Type:
                                                    • Text: List uncompleted tasks
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 12 pt
                                                    • Left: 174 pt
                                                    • Bottom: 37 pt
                                                    • Right: 325 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “ListReminders”; Parameter: "uncompleted" ]

                                                    Scripts:


                                                    Button PropertiesCoordinatesScript/Script Step
                                                      Type:
                                                    • Text: List tasks due till today
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 12 pt
                                                    • Left: 336 pt
                                                    • Bottom: 37 pt
                                                    • Right: 487 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “ListReminders”; Parameter: "due today" ]

                                                    Scripts:


                                                    Button PropertiesCoordinatesScript/Script Step
                                                      Type:
                                                    • Text: Lists tasks completed today
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 12 pt
                                                    • Left: 498 pt
                                                    • Bottom: 37 pt
                                                    • Right: 661 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “ListReminders”; Parameter: "completed today" ]

                                                    Scripts:


                                                    Button PropertiesCoordinatesScript/Script Step
                                                      Type:
                                                    • Text: Mark Completed
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 260 pt
                                                    • Left: 156 pt
                                                    • Bottom: 285 pt
                                                    • Right: 283 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “EditReminder” ]

                                                    Scripts:


                                                    Button PropertiesCoordinatesScript/Script Step
                                                      Type:
                                                    • Text: Delete Reminder
                                                      Additional Properties:
                                                    • Change to hand cursor over button
                                                    • Rectangular
                                                    • Top: 260 pt
                                                    • Left: 300 pt
                                                    • Bottom: 285 pt
                                                    • Right: 427 pt
                                                    • Anchoring: Left, Top
                                                    Perform Script [ “DeleteReminder” ]

                                                    Scripts:


                                                    Script Hierarchy

                                                    ListReminders
                                                    Trace
                                                    CreateReminder
                                                    DeleteReminder
                                                    EditReminder
                                                    Clear

                                                    Next Script: [Trace]
                                                    Script NameListReminders
                                                    Run script with full access privilegesOff
                                                    Include In MenuYes
                                                    Layouts that use this script
                                                    Scripts that use this script
                                                      Script Definition
                                                      Script Steps
                                                      • Delete All Records [ No dialog ]
                                                      • If [ Get(ScriptParameter) = "all" ]
                                                      • Set Variable [ $Events; Value:MBS("Calendar.Tasks") ]
                                                      • Else If [ Get(ScriptParameter) = "uncompleted" ]
                                                      • Set Variable [ $Events; Value:MBS("Calendar.UncompletedTasks") ]
                                                      • Else If [ Get(ScriptParameter) = "due today" ]
                                                      • Set Variable [ $Events; Value:MBS("Calendar.UncompletedTasksDueBefore"; Get(CurrentTimestamp)) ]
                                                      • Else If [ Get(ScriptParameter) = "completed today" ]
                                                      • Set Variable [ $Events; Value:MBS("Calendar.TasksCompletedSince"; Date(Month(Get(CurrentTimestamp)); Day(Get(CurrentTimestamp)); Year(Get(CurrentTimestamp)))) ]
                                                      • Else
                                                      • Show Custom Dialog [ Title: "unknown parameter"; Message: Get(ScriptParameter); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                                      • End If
                                                      • If [ MBS("Iserror") = 0 ]
                                                      • Set Variable [ $Count; Value:ValueCount ( $events ) ]
                                                      • If [ $count > 0 ]
                                                      • Set Variable [ $index; Value:1 ]
                                                      • Loop
                                                      • Set Variable [ $id; Value:GetValue ( $events ; $index ) ]
                                                      • New Record/Request
                                                      • Set Field [ Reminders::title; MBS("Calendar.Item.GetTitle"; $id) ]
                                                      • Set Field [ Reminders::url; MBS("Calendar.Item.GetURL"; $id) ]
                                                      • Set Field [ Reminders::ID; MBS("Calendar.Item.GetUID"; $id) ]
                                                      • Set Field [ Reminders::priority; MBS("Calendar.Item.GetPriority"; $id) ]
                                                      • Set Field [ Reminders::dueDate; MBS("Calendar.Item.GetDueDate"; $id) ]
                                                      • Set Field [ Reminders::completedDate; MBS("Calendar.Item.GetCompletionDate"; $id) ]
                                                      • Set Field [ Reminders::isCompleted; MBS("Calendar.Item.GetCompleted"; $id) ]
                                                      • Set Field [ Reminders::notes; MBS("Calendar.Item.GetNotes"; $id) ]
                                                      • Set Field [ Reminders::calendar; MBS( "Calendar.Calendar.GetTitle"; MBS("Calendar.Item.GetCalendar"; $id)) ]
                                                      • Commit Records/Requests [ No dialog ]
                                                      • Set Variable [ $index; Value:$index + 1 ]
                                                      • Exit Loop If [ $index > $count ]
                                                      • End Loop
                                                      • End If
                                                      • 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: [ListReminders]Next Script: [CreateReminder]
                                                              Script NameTrace
                                                              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("Trace") ]
                                                                  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: [Trace]Next Script: [DeleteReminder]
                                                                                Script NameCreateReminder
                                                                                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: [CreateReminder]Next Script: [EditReminder]
                                                                                          Script NameDeleteReminder
                                                                                          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("Calendar.RemoveReminder"; Reminders::ReminderID ) ]
                                                                                            • Set Field [ Reminders::ReminderID; "" ]
                                                                                            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: [DeleteReminder]Next Script: [Clear]
                                                                                                    Script NameEditReminder
                                                                                                    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: [EditReminder]
                                                                                                              Script NameClear
                                                                                                              Run script with full access privilegesOff
                                                                                                              Include In MenuYes
                                                                                                              Layouts that use this script
                                                                                                                Scripts that use this script
                                                                                                                  Script Definition
                                                                                                                  Script Steps
                                                                                                                  • Delete All Records [ 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: Reminders

                                                                                                                                Used functions:




                                                                                                                                Links
                                                                                                                                MBS Xojo Plugins