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

MBS FileMaker Plugin Example Databases

List Jobs

All examples are included with download of MBS FileMaker Plugin.

List Jobs.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
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
List Jobs
11 fields defined, 0 record
List Jobs

Fields

Table Name: List Jobs - 11 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PrinterNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      DefaultNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
              NumberOfJobsNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Global
              • Repetitions: 1
              • 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
                      UserNormal, 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
                              FormatNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  IDNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      StateNormal, NumberAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          CreationTimeNormal, TimestampAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              CompletionTimeNormal, TimestampAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German

                                                  Layout Objects: List Jobs

                                                  Regular Fields

                                                  Field Name: List Jobs::Printer
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 6 pt
                                                  • Bottom: 80 pt
                                                  • Right: 187 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: List Jobs::NumberOfJobs
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 6 pt
                                                  • Left: 114 pt
                                                  • Bottom: 20 pt
                                                  • Right: 193 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: List Jobs::Title
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 192 pt
                                                  • Bottom: 80 pt
                                                  • Right: 445 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: List Jobs::User
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 450 pt
                                                  • Bottom: 80 pt
                                                  • Right: 559 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: List Jobs::Priority
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 564 pt
                                                  • Bottom: 80 pt
                                                  • Right: 643 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: List Jobs::Format
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 648 pt
                                                  • Bottom: 80 pt
                                                  • Right: 721 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: List Jobs::ID
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 726 pt
                                                  • Bottom: 80 pt
                                                  • Right: 775 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: List Jobs::State
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 780 pt
                                                  • Bottom: 80 pt
                                                  • Right: 859 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: List Jobs::CreationTime
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 864 pt
                                                  • Bottom: 80 pt
                                                  • Right: 1105 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: List Jobs::CompletionTime
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 1110 pt
                                                  • Bottom: 80 pt
                                                  • Right: 1351 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: All jobs
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 6 pt
                                                  • Left: 234 pt
                                                  • Bottom: 31 pt
                                                  • Right: 301 pt
                                                  • Anchoring: Left, Top
                                                  Perform Script [ “ListAllJobs” ]

                                                  Scripts:


                                                  Script Hierarchy

                                                  ListAllJobs

                                                  Script NameListAllJobs
                                                  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 [ $count; Value:MBS( "CUPS.getJobsCount"; ""; "all"; "all" ) ]
                                                    • Set Field [ List Jobs::NumberOfJobs; $count ]
                                                    • Delete All Records [ No dialog ]
                                                    • If [ $count>0 ]
                                                    • Set Variable [ $index; Value:0 ]
                                                    • Loop
                                                    • New Record/Request
                                                    • Set Field [ List Jobs::Printer; MBS( "CUPS.GetJobPrinter"; $index ) ]
                                                    • Set Field [ List Jobs::Title; MBS( "CUPS.GetJobtitle"; $index ) ]
                                                    • Set Field [ List Jobs::Priority; MBS( "CUPS.GetJobPriority"; $index ) ]
                                                    • Set Field [ List Jobs::ID; MBS( "CUPS.GetJobID"; $index ) ]
                                                    • Set Field [ List Jobs::State; MBS( "CUPS.GetJobState"; $index ) ]
                                                    • Set Field [ List Jobs::Format; MBS( "CUPS.GetJobFormat"; $index ) ]
                                                    • Set Field [ List Jobs::User; MBS( "CUPS.GetJobUser"; $index ) ]
                                                    • Set Field [ List Jobs::CreationTime; MBS( "CUPS.GetJobCreationTime"; $index ) ]
                                                    • Set Field [ List Jobs::CompletionTime; MBS( "CUPS.GetJobCompletionTime"; $index ) ]
                                                    • Commit Records/Requests [ No dialog ]
                                                    • Set Variable [ $index; Value:$index + 1 ]
                                                    • Exit Loop If [ $index = $count ]
                                                    • End Loop
                                                    • End If
                                                    Fields used in this script
                                                    Scripts used in this script
                                                      Layouts used in this script
                                                        Tables used in this script
                                                        Table occurrences used by this script
                                                        Custom Functions used by this script
                                                          Custom menu set used by this script

                                                            Download example: List Jobs

                                                            Used functions: