Advanced Review Questions Flashcards
It is possible, in theory, to implement a many-to-many relationship between tables A and B by using multivalued attributes in each table. What important design problem in many-to-many relationships cannot be solved using this technique?
Often it will be necessary to store additional attributes as part of the relationship between the two entities.
i.e., In the many-to-many relationship between Actor and Movie, it would be desirable to store a character’s name for a specific movie. Resolving the relationship using multivalued attributes would leave no place to store such information.
Describe how an object behaves when it has multiple conditional formatting options.
FileMaker Pro will apply the formatting options for all of the true conditions specified. If multiple true conditions are specified with conflicting formatting (such as two conditions that specify different background colors), FileMaker Pro applies only the formatting associated with the last true condition.
What are some of the possible pitfalls of executing a script step in an incorrect context?
The action might be performed against the wrong table, which could lead to records being added to or deleted from a different table than you intended or to actions being performed against an incorrect found set of records.
How might you use FileMaker Server’s ability to trigger an operating-system script?
You might use it to trigger a script with a specific user account that can perform more fine-grained backups than the FileMaker Server tools allow or that copied backed-up files to a remote volume (privileges permitting).
What are three capabilities available via the FileMaker Pro client that are not available via FileMaker WebDirect?
The FileMaker Pro client has the following capabilities that do not translate to FileMaker WebDirect:
- Show multiple open windows at once
- Perform scripted interactions with the user’s file system
- Preview mode
- Custom menus
What is an entity, in database terms?
An entity is a type or class of thing that has a distinct existence—something that one wishes to track in a consistent fashion. Entities can exist at various level of abstraction. Examples of entities could be such things as Invoice, Customer, Animal, Inspection, Horse, Contact, Product, and the like.
How can you tell that you have reached the correct list of entities and attributes for a database?
There is no truly “correct” list of entities and attributes for any database problem. The quality of the list is determined by how well it supports the necessary functions of the system being designed.
Describe a technique for implementing a many-to-many relationship between two tables, A and B, that overcomes the limitations of trying to use multivalued attributes.
Use a third table (“join table” or “join entity”) that contains a foreign key for each of tables A and B and has a many-to-one relationship with table A and table B.
Number fields can store text characters. TRUE or FALSE
TRUE
What are the four object states for which you can specify appearance attributes?
The four object states are:
- Normal State
- Hover
- In Focus
- Pressed
What are some limitations of the ODBC Import feature compared to ESS
- ODBC Import cannot make any changes to data in the original ODBC data source
- ODBC Import must use a DSN on each individual FileMaker Pro desktop, and it cannot use a single DSN on a central hosting machine, as ESS may do.
What are the three most important factors in determining how a container field behaves?
- How the field’s storage options are defined
- How it is optimized on the layout
- How the user inserts data into the container field.
What formula would you use to find the number of characters in the first word of a string?
Length ( LeftWords ( text ; 1 ) )
How does FileMaker Pro store date, time, and timestamp data?
- Dates are stored as the number of days since 1/1/0001
- Time is stored as the number of seconds since midnight
- Timestamps as the number of seconds since midnight on 1/1/0001
What are the drag options available in the Field Picker for Field Placement and Label Position?
- Fields can be positioned side-by-side or in a stack
- Field labels can be placed above or to the left of each field.
What are some advantages of the ODBC Import capability in FileMaker Pro compared to the External SQL Sources (ESS) feature?
- ODBC Import can be used to draw data from any of dozens of ODBC-compatible data sources; ESS currently only supports three major data sources.
- It is possible to extract data using a handcrafted SQL query using ODBC Import, which is not possible with ESS.
Describe the difference between static and a dynamic value lists.
-
Static value list - choices are hard-coded into the value list itself.
- i.e., a Status value list might have Active and Inactive as its two choices.
- Dynamic value list - choices are generated from data in a table. The choices can change dynamically as records are added or removed from the table.
What are some common reasons for choosing bar, line, area, pie, or scatter as a chart type?
- Pie chart - to show comparisons of parts to a whole
- Bar chart - to show comparisons among a set of elements
- Line and area charts - to show data trends over time
- Scatter charts - to show the correlations between two data series
What do you have to do to create a ranking subsummary report?
You have to select the Reorder based on summary field option in the sort records dialog and select a summary field to reorder by.
Why is it important to give users an easy way to log out of a FileMaker WebDirect solution?
As a long as a user is not logged out of a FileMaker WebDirect solution, that user is consuming a licensed connection. If the user is idle, eventually the session timeout will trigger and log them out automatically, but the sooner an idle user gives up their connection, the sooner that connection is free for another client to use.
What is a self-relationship? Give an example.
The term “self-relationship” denotes a scenario in which a table is related to itself. A typical example is an organizational chart, in which each employee record relates to another employee record denoting that employee’s direct manager.
What is a foreign key, and how is it different from a primary key?
A field that holds the value of a primary key from another table (a “foreign” table). Unlike a primary key, it need not be unique and may in some circumstances be empty. It is used to indicate a relationship between rows in one table and those in another.
What are the ramifications of using the Set Error Capture [On] script step?
Turning error capture on makes it necessary to trap for, handle, and report error conditions that otherwise would automatically be handled and reported by FileMaker Pro.
What benefits does FileMaker Server confer when deploying databases?
- Supports FileMaker WebDirect and FileMaker Go clients
- Supports large numbers of FileMakerPro clients
- Backs up solutions on a schedule
- Uses external directories for user authentication
- Added SSL security for data transfer
- Remote ODBC/JDBC support
- PHP and XML support.
