Container fields in FileMaker 12 come with three different storage/insertion options:
External Storage. If this option is selected files are stored automatically in a location you specify when you select this as a storage option in field options. This option is new with FileMaker 12. Do not select "store a reference" when inserting/importing files into a field with this field option. The inserted files are automatically "by reference" and selecting the option keeps the file from being stored externally.
Inserted with "store a reference" selected. This is an option you can choose when inserting or importing a file into a container field. This stores just the file path in the container field and the file remains in its current location.
Embedded. "store a reference" is not selected when inserting/importing a file and the container field does not have external storage specified.
For large numbers of files, especially large files, it makes sense to use either external storage or "Store a reference" for the files. The convenience/inconvenience can vary a bit depending on what you want to do with the files once you have inserted them into your database. "store a reference" files can be opened with a double click on the container field and if the user then modifies the file and saves it back to its current location, the changes are automatically saved.
For embedded and externally stored files, export field contents can export a copy to a specified location, such as the temporary folder. This is pretty easy to set up so that a single mouseclick opens this copy of the file, but it's a copy, any changes made and saved are not automatically saved back to the container field or external storage location. A script would be needed to re-insert the exported copy to save such changes.
Databases run a distant second to spreadsheets when it comes to making quick and complex mathematical calculations. But sometimes a FileMaker Pro 11 (hereafter referred to as FileMaker) database must
Although I've used other people's dictionary techniques in my solutions, I've been unhappy with them for a number of reasons. First of all, I find them poorly documented. Even though some of them include lengthy articles regarding their use, wading through the articles is difficult and doesn't seem to bring much clarity. Second, I'm unhappy with their storage methods. Both of the solutions I've come across use esoteric delimiters for the data, making them difficult to read. Finally, they don't fully implement the dictionary ideal, in that keys can be duplicated. While this comes in handy because the one I was using in a recent solution didn't support lists as a data type, I prefer the cleanliness of single key restrictions.
Even though I’ve created some very large and complex systems with FileMaker, I have often used it in this manner to create simple databases that are basically glorified list managers, such as the Serial Numbers database we’ve worked on in past columns. Used in this mode, manipulating data in the database is a matter of using FileMaker’s built-in interface elements, such as Command-N to create a new record, View ‣ Find Mode to search for records, etc. FileMaker is very useful at this level. Anyone can create a simple database with a couple of tables and a few fields and begin storing data in it within minutes. Here is an example of a simple database like this:
Excel spreadsheets are great. They can perform a lot of useful tasks for your business like general purpose number crunching, tracking customer contacts/information, making custom invoices, and producing charts. But many businesses push spreadsheets to their limits. They come to rely on Excel for far more than it was ever designed to do. We call this “Excel abuse” and it’s a big business problem.
Generally, you set up this type of table structure:
Respondants------<Responses>-------Questions>-------Surveys (----< means "one to many")
A single record in respondants represents one person responding to your survey. You put your name, date, course for review, etc. fields there. Then link it to responses by a unique serial number field defined in respondants:
Respondants::__pk_RespID = Responses::_fk_RespID (pk means "primary key" and fk means "foreign key".)
Each response to a question is a separate record in that table. The radio button field with your Likert scale and your comment field for comments is defined in this table. (Assuming you have one comment field for every question, not a single comment field for the entire survey...)
Each question to ask in your survey is a separate record with it's own serial ID in the Questions table to produce this relationship:
Questions::__pk_QuestID = Responses::_fk_QuestID
A Text field in the Questions table is used to store the survey question being asked. If your survey asks each respondant 5 questions, this table will have 5 records for that survey. (It's not needed for this project, but it's possible to add a field in Questions that lists the possible answers for that specific questions so a conditional value list can use this field and present the user with different values on every question.)
You may or may not need a Surveys table. Adding one allows you to process more than one survey--each with it's own group of related records in the Questions table.
With the above structure, you can set up a portal to responses on the respondants layout. The Question field from the related Questions table can be added to this portal so that the respondant can read the question and select a response in the portal for each question.
Alternatively, a list layout based on the Responses layout with related fields from both Respondants, and Questions added to the layout can be used to administer the survey questions.
Either way, a script would be used to create one matching record in responses for each question, linked by RespID to the Respondants record each time a person starts to take the survey.
To see how such a table of responses can be used to produce your report, see this tutorial on summary reports (The lineItems table in the tutorial is similar to the responses table described here.):http://forums.filemaker.com/posts/be76a023b9
The MBS is easily the most powerful plug-in available for FileMaker today. There are over 1800 functions that allow FileMaker developers to extend their solutions in some amazing ways. Each function does a little task and in their combination you can unleash the full power of our plugin. To learn how to use them together, please check our reference and our more than 200 example databases. A quick overview:
In a production system, this actually takes place twice--the first time it's when scheduling/planning a production run and the data represents the predicted production of new inventory and the consumption of ingredients. The second time around, it's the actual reported production and consumption--where wastage, shortfalls and overruns have to be accounted for instead of the original "ideal" quantities specified in the recipe.
Typical production systems have 3 different subsystems: Specs--the recipe for producing one unit of product, Scheduling--the predicted production/consumption figures and Inventory Management--the actual changes produced by the production run.
So using your Potato Chips example, your Recipe might specify the ingredients and Quantities for a 1 ounce quantity of finished product. In the specifications subsystem, you might then have records for both a 16 ounce bag and a 32 ounce bag of potato chips. In the scheduling system, you might setup a 3 shift production run of 30,000 32 ounce bags of potato chips and the Inventory Management subsystem might then record the production of 32,000 32 ounce bags with actual amounts produced and consumed that will vary to some degree from that scheduled due to either more or less wastage than specified in the "recipe" and the 2,000 bag overrun.
For both "spec" and "scheduling" sub systems, I can think of two different approaches that can be used. One is to set up yet another Join table that is populated by a script that loops through the current recipe's list of ingredients and quantities to produce a set of join table records with adjusted quantities. The other is a more sophisticated relationship supported by a script and a global field to enable calculation field in the existing join table to access data in the current finished product record in order to show correctly adjusted quantities:
FinishedProduct|Selected is another table occurrence of FinishedProduct.
gfkFinishedProductID is a number field with global storage.
You would keep it updated with the correct value by using the OnRecordLoad trigger to perform this script:
Set Field [RecipeIngredient::gfkFinishedProductID ; FinishedProduct::__pkFinishedProductID ] Commit Records
This enables the following calculation field in RecipeIngredient to return the correct quantity:
Qty * FinishedProduct|Selected::SizeFactor
to adjust the quantities for each ingredient. In our Potato chip example, with a recipe for an ounce of potato chips, the sizefactor for a 16 oz. bag will be 16 and 32 for the 32 ounce size.
And I strongly recommend that you not use Name field as the match fields in your relationship like you have set up here. Consider the problems that might occur if you have to change the name of a product, recipe or ingredient--perhaps to correct a data entry error. That name change will break links to other related tables for the record where you change the name. Using auto-entered serial numbers instead of names as the match fields makes for a much safer system.
PR professionals deal with too many solutions. A contact database, distribution/wire services and publication tools. Prezly integrates those solutions into one service.
If you don't want to see the selected value in the pop up, You can place a drop down list formatted field (don't select the arrow option) behind the conditionally formatted field and use behavior setting to ban browse mode access to it. When you click on the field in front, control passes to the field behind it and you can select a value. The selected field then disappears back behind the number field after you have selected a value. You can also set up the number field as a button and use Go to Field in it's script to put the cursor in the drop down list formatted field to deploy the list if you don't want to hide it back behind the number field.
The fact that each category is not unique does complicate the issue a bit, but with multiple match fields, it should be manageable.
The starter solution has these tables/relationships:
Invoices----<Invoice Data>-----Products
This is still the case in your project?
And how did you assign each product to the categories and sub categories? Did you add 3 fields to Projects for the category, Sub Category and Sub Sub Category?
Do you have thee added tables of categories, sub categories and sub sub categories?
Basic tutorial on Raw, an online app for designers and vis geeks, aiming at providing a missing link between spreadsheet applications (e.g. Microsoft Excel, Apple…
In May, I participated in Pause[x]Berlin 2013, a European format of the popular unconference Pause On Error, organized for FileMaker developers by FileMaker developers..
A primary function of databases is to store and retrieve information, but if that’s all databases did, they wouldn’t have nearly the utility they do. Databases also have the ability to take data input by a user and provide it in a different form. The computer doesn’t (usually) create anything new by doing this, but only takes the given input and produces the requested output.
Send FileMaker scripts multiple parameters with this self-documenting technique.
There are other ideas on how to handle this. Jesse Antunes at Six Fried Rice has an article that uses key/value pair syntax to indicate multiple parameters, and the FileMaker Dictionary Functions offered by Six Fried Rice have been used by Thomas Seidler to solve the problem. I like the following solution, however, because I find it simpler (believe it or not) and I enjoy the self documenting script names.
It’s been almost 10 years since the release of FileMaker 7, and with it, the introduction of custom functions to the developer arsenal. Over the last year or so, I’ve been making ever greater use of this feature, and thought that perhaps sharing the uses I make of custom functions might prove educational to others.
I’m going to provide a few explanatory examples, so keep in mind the following conventions that I use when working with custom functions:
Last time, we built the beginnings of a FileMaker database to track books. In this column we’ll build on this, providing some additional features that will be useful to us as the developers of this system. We’re going to touch on many of FileMaker’s features, including layouts, table occurrences, scripts, and custom functions.
If you didn’t participate in the tutorial last month, you can download the file we’ll begin with that was completed in that column.
I created the ProductKey Demo to show off a simple implementation of generating product keys, validating product keys and restricting features. You can download the demo from my demo page. The demo is released under the BSD “new” license.
I also implemented a timed trial period within the demo to show how such an implementation could allow for a product trial. The timed trial period will lock out a user from the application after the time trial has expired unless they enter a valid product key.
In the demo the lockout has been disabled and a prompt will appear stating when the application should exit. This is to prevent the lockout loop if you do not have access to the script debugger.Click here to edit the title
This plugin for FileMaker Pro works with any connected camera. You can use your built in iSight camera, a USB connected WebCam or a FireWire connected device. You can use the plugin to show you a display of what the camera sees and then you can capture the current frame and store it as a image in many popular formats, or as an image onto your system clipboard.
- set up your Central File to be accessible over the web. (You do not have to use IWP - in fact, don't use IWP.) For this example I'll call it Vet Database. To do that you need to set up port-forwarding on your router. You need to have a fixed public IP, or another work-around (such as No-IP) - Create a copy of the file, call it 'Vet Database Central', and put it in the same folder as the Vet Database. - In the Vet Database go to the relationship diagram and add as External Data Sources each of the tables from Vet Database Central. - You now have direct access from the Vet Database (which will be the local version the vets bring with them) and the main database tables. They look exactly the same, are even called the same thing - they are indeed copies of exactly the same file (structure) but they are distinct different files, in different locations. - Set up scripts to import from each table in your Vet Database (the local copy on the iPad) into the equivalent table you added from Vet Database Central. - Cycle through the tables and import the records. - Some tricky bits now (as I suggested before):
- having sent the records back to the Central File, are you going to delete them locally, or tag them as 'Exported', so as not to export them again? You need to check for a connection back to the Central File first, to make sure that you don't delete them when in fact they were never exported. It is the same problem as you must check for when importing after e-mailing.
- you said that you may be going to have Parent and Child records raised locally. You need to cover if you are going to have all records issued with a unique universal ID, and that is used everywhere, or whether the Central File will allocate each record the unique 'System' ID upon import. If so, you have to put in a prodecure to change the Parent ID in the imported Parent Records, and their associated Child Records that were raised locally.
One of the things you want to avoid is to literally have two versions of the file - a structure you use Centrally, and a slightly modified structure you use 'remotely'. If they are even slightly different you will end up doing all development work twice - once in each file. So you want to have one universal file that can act as either central or remote. For example, when you created the Vet Database Central copy and loaded that as an external source, it works at the central PC. But you don't want the remote iPads to carry that 2nd copy with them. When they go looking for 'Vet Database Central' you want them to search for the one that is on the web, back in your HQ. So you use File - Manage - External Data Sources and make a list of sources. You start with the Vet Database Central (so that the central file will see it and be happy) but you add a second one below it (like fmnet:/123.456.7.8 , being the public IP of your HQ's router). When the iPad can't find any copy of the 'Central' database on itself it shifts on down the list and will find the real HQ-Central file, as long as you have a web connection.
I don't know how many of the tricks and techniques are familiar to you. Like everything, they are 'easy when you know how' (and sometimes not so easy when 'we only thought we knew how'), but there are a lot of techniques piled in to your project. If it works when you e-mail the file - then do that. Get the rest of it working (interface etc) and you will always be able to add the direct import later. Probably around the same time as your colleagues get enthusiastic and want to have all notes available at all times to every iPad...
Need a custom business solution for your iPad or iPhone? FileMaker 12 makes it easy for anyone to create custom business solutions for iPad, iPhone, Windows ...
A lot of the changes in OS X Mavericks are about the visible look and feel. But others are less obvious. Here's what has changed in terms of performance and power management.
If an app is playing audio, downloading a file from a server or the Internet, or doing something else in the background that requires the full attention of your Mac’s resources, App Nap will not activate. Also, software developers can write their apps so as to disable App Nap.
Users have the ability to disable App Nap in Mavericks for a particular app. To do so, open a Get Info window for the app (click the app and press Command-I, or click the app and select File > Get Info), and you’ll see a checkbox labeled Prevent App Nap. Click that checkbox.
I've been playing with an "exploration file" that helps Novice developers better understand how to work with file paths, containers and the many script steps that can use a $Path variable to access or create a different file at a different location each time that the script is performed.
I created a .fp7 version for FileMaker 11 and earlier users. Then I converted it to .fmp12 format and added a bit more to it for exploring the external storage and "interactive optimization" data format features newly added with FileMaker 12.
The download link downloads a zip file containing both versions of this file. You can download and then extract the file from the zip archive to use it.
The file is fully unlocked, you can easily examine the scripts in the file to find examples of how a $Path variable may be used and there are a number of calculation fields that can extract file names and file and/or folder paths from a container field after a file has been inserted into it.
You can also use this file to capture a valid file path to an existing file or folder on your computer for use in your own set variable script step for setting up your $Path variable. You can insert a file into a container field in the file and then copy and paste from one of the special calculation fields provided for that purpose. Syntax examples for combining the file path to such a folder with either a literal file name or one calculated from fields in your database have also been provided.
A special thanks to Jim Gurley for reviewing the file on a Mac system and for offering a number of helpful suggestions for improving this file.
To get content containing either thought or leadership enter:
To get content containing both thought and leadership enter:
To get content containing the expression thought leadership enter:
You can enter several keywords and you can refine them whenever you want. Our suggestion engine uses more signals but entering a few keywords here will rapidly give you great content to curate.
http://SeattleComputerGuy.com
http://yelp.com/biz/the-computer-guy-seattle
http://seattlewebpromotion.weebly.com/