While it may seem that in life there are very few black and white choices, in the database development world, the either/or option (on/off, yes/no, active/inactive, open/closed) is pretty common. We know these choices as Boolean options. Continue reading ‘Advancing Technique: Using Booleans to streamline data’
Monthly Archive for March, 2010
The Problem: Creating Master-Detail interface elements in Filemaker 10 and earlier was not straight forward.
You’d have to create a field to store the id of the currently selected record, then create a relationship matching just that id. If you’re in a multi-user setting you’d have to make sure the id storage field was global, so that selection was per user, not per record, otherwise you’d have the problem when one user changed the selection the selection would change for everyone.
The Solution: Now in Filemaker Pro 11 that all goes away with Filtered Portals.
Setting the global variable can use the same mechanism (onObjectEnter) on the portal. Remember though, in Filemaker Pro 11 you’ll need to add a refresh to update the portal.
Now all you have to do is set a script that sets a global variable, drop a relationship on the layout (potentially the same relationship you make the selection from) and filter it by the selected id.
Now you’ve got a simple interface that is easier to maintain and modify.
Join us for an exclusive look at FileMaker 11!
Improved File Security, including specific file access authorization





Recent Comments