Jump to content
  • entries
    84
  • comments
    0
  • views
    3741

Entries in this blog

FRAP-Map: A Flexible, Robust, Accessible and Portable Data Mapping Technique

Editor’s note: today we have a guest article by long-time FileMaker developer, Peter Doern, who has come up with an elegant, outside-the-box methodology for managing imports. This is one of the coolest techniques I’ve seen in a long time. Enjoy. FileMaker includes a powerful and fast method for importing data from a source table to… Continue reading FRAP-Map: A Flexible, Robust, Accessible and Portable Data Mapping Technique Afficher la totalité du billet

When 2 is greater than 10

Today we’re going to take a quick look at a potential “gotcha” that can crop up when doing numeric comparisons. Jason DeLooze and I discussed the general behavior back in 2011 (Space Is The Place), but this time around I want to focus on one particular set of circumstances where the problem can arise. At… Continue reading When 2 is greater than 10 Afficher la totalité du billet

Fun with SQL Joins and Currency Formatting

Demo file: sql-join-fun-etc.zip requires FM 18 or later. Recently I was asked to create a mini-report combining data from a pair of related tables via ExecuteSQL. This provided an opportunity to think about SQL joins, and also to come up with a way to apply currency formatting to dollar amounts in the SQL query result,… Continue reading Fun with SQL Joins and Currency Formatting Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

File IDs, Table IDs and Field-Level Schema

Demo file:  file ids, table ids and field-level schema.zip (requires FM 18 or later) INTRODUCTION Recently I was asked to help document a FileMaker solution by creating and populating a “schema” table as per the above screen shot. One of the requirements was to programmatically determine internal ID numbers for the file and for the… Continue reading File IDs, Table IDs and Field-Level Schema Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Set Variable By Name Revisited

Demo file: set-variable-by-name-v2.zip (requires FM 16 or later) INTRODUCTION You’ve probably heard the old joke that goes… Patient: Doc, it hurts when I do this. Doctor: Don’t do that. Perhaps you’re also familiar with the FileMaker equivalent? Developer: It hurts when I try to assign certain variable names. FileMaker: Don’t do that. Or how about… Continue reading Set Variable By Name Revisited Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

A Value List Experiment

Demo file: a-value-list-experiment.zip Note 1: today’s demo is recycled from the one that accompanied Virtual Portal, part 2. All we care about today is how we assign the parent company; the remainder can be ignored. Note 2: if you’re unclear on value list basics, check out Thinking About Value Lists, part 1. “I want it… Continue reading A Value List Experiment Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

A Simpler Backup Script

Demo file: backup-simplified.zip Like many developers I go back and forth between developing locally and in a hosted environment, and many years ago, I posted a couple articles featuring a simple backup script to create on-the-fly backups when working on local files. Recently a colleague pointed out that this backup routine, which I last wrote… Continue reading A Simpler Backup Script Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Render Found Set as JSON Object

Demo file: found-set-to-json-object.zip (40MB; requires FM 18 or later) [Author’s note: the demo file is a work in progress. Modify it as you see fit.] Today we’re going to compare various methods one might consider employing to render an arbitrary found set as a JSON object. The demo consists of a table of US customers… Continue reading Render Found Set as JSON Object Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Render Found Set as JSON Object

Demo file: found-set-to-json-object.zip (40MB; requires FM 18 or later) [Author’s note: the demo file is a work in progress. Modify it as you see fit.] Today we’re going to compare various methods one might consider employing to render an arbitrary found set as a JSON object. The demo consists of a table of US customers… Continue reading Render Found Set as JSON Object Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

JSON Currency Exchange Rates

Welcome back for another exciting round of JSON exploration. Last time we discussed a JSON-related bug fix in FM 19, as well as a free package tracking service that returns results in JSON format. Today we’re going to look at a free currency exchange rate service. Demo file: json-exchange-rates.zip I threw together this FileMaker front… Continue reading JSON Currency Exchange Rates Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

JSON Currency Exchange Rates

Welcome back for another exciting round of JSON exploration. Last time we discussed a JSON-related bug fix in FM 19, as well as a free package tracking service that returns results in JSON format. Today we’re going to look at a free currency exchange rate service. Demo file: json-exchange-rates.zip I threw together this FileMaker front… Continue reading JSON Currency Exchange Rates Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

A JSON Miscellany

Today we’re going to look at a bug fix in FM 19, and a free web service that returns useful information in JSON format. Fixed in 19: JSON validation bug In FM 18 (but not in 16 or 17) JSONFormatElements and other JSON functions can mask mangled JSON errors, making them harder to detect and… Continue reading A JSON Miscellany Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

A JSON Miscellany, part 1

In this 2-part series, we’re going to take a look at various JSON-related topics, including a bug fix in FM 19, two free web services that return useful information in JSON format, and several ways to parse a found set into a JSON object. Fixed in 19: JSON validation bug In FM 18 (but not… Continue reading A JSON Miscellany, part 1 Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

FilterValues, part 2

Sometimes it happens that the real value of a blog posting emerges in the comments section. Such was the case last time, when Paul Jansen posted an elegant little workaround to remedy a performance issue with the FilterValues function. Paul’s workaround is deserving of its own demo, and that’s what we’re going to look at… Continue reading FilterValues, part 2 Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

FilterValues, part 2

Sometimes it happens that the real value of a blog posting emerges in the comments section. Such was the case last time, when Paul Jansen posted an elegant little workaround to remedy a performance issue with the FilterValues function. Paul’s workaround is deserving of its own demo, and that’s what we’re going to look at… Continue reading FilterValues, part 2 Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

FilterValues

Today we’re going to do some experiments with the FilterValues function, which takes two return delimited lists for input… FilterValues ( textToFilter ; filterValues ) …and produces the intersection of the two lists as output. With the above in mind, when the function was first introduced back in 2004, I assumed that these two statements… Continue reading FilterValues Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

FilterValues

Today we’re going to do some experiments with the FilterValues function, which takes two return delimited lists for input… FilterValues ( textToFilter ; filterValues ) …and produces the intersection of the two lists as output. With the above in mind, when the function was first introduced back in 2004, I assumed that these two statements… Continue reading FilterValues Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Ordering Elements within JSON Objects

Introduction If you’ve generated JSON objects via FileMaker, you’re likely aware of the disparity between the order in which you specify the elements, and the order in which they subsequently appear (i.e., alphabetized by key name). As I wrote two years ago (in Thinking About JSON, Part 2)… Both JSONSetElement and JSONFormatElements will automatically alphabetize… Continue reading Ordering Elements within JSON Objects Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Ordering Elements within JSON Objects

Introduction If you’ve generated JSON objects via FileMaker, you’re likely aware of the disparity between the order in which you specify the elements, and the order in which they subsequently appear (i.e., alphabetized by key name). As I wrote two years ago (in Thinking About JSON, Part 2)… Both JSONSetElement and JSONFormatElements will automatically alphabetize… Continue reading Ordering Elements within JSON Objects Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

GetFieldName Revisited

Long time readers of this blog will be familiar with the following scenario — An ExecuteSQL expression is given, e.g., ExecuteSQL ( " SELECT SUM ( net_amount ) FROM cc_transactions WHERE batch_date = ? AND batch_region = ? AND card_type = ? " ; "" ; "" ; $theDate ; $theRegion ; $theCard ) …followed… Continue reading GetFieldName Revisited Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

GetFieldName Revisited

Long time readers of this blog will be familiar with the following scenario — An ExecuteSQL code example is given, e.g., ExecuteSQL ( " SELECT SUM ( net_amount ) FROM cc_transactions WHERE batch_date = ? AND batch_region = ? AND card_type = ? " ; "" ; "" ; $theDate ; $theRegion ; $theCard )… Continue reading GetFieldName Revisited Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Virtual Portal, part 2

[Note: several hours after posting this article I realized the “Hide Object” calc could be streamlined. Screen shot and demo have been updated to reflect this.] Demo file: virtual-portal-v2b.zip (requires FM 18 or later) This is a quick follow up to the Virtual Portal article I posted the other day. As you may recall, the… Continue reading Virtual Portal, part 2 Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Virtual Portal, part 2

Demo file: virtual-portal-v2.zip (requires FM 18 or later) This is a quick follow up to the Virtual Portal article I posted the other day. As you may recall, the objective was to use virtual list to display disparate entities in a portal… …via an array like this… …which was auto-generated via a Hide Object calculation… Continue reading Virtual Portal, part 2 Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Virtual Portal

Demo file: virtual-portal-v1b.zip This is a follow-up to last month’s article on virtual list, and this time we’re going to explore a way to use virtual list in a portal. Imagine you have built a system where a Company can be a parent of a Mill, Refinery, Estate, or another Company. Each of these entities… Continue reading Virtual Portal Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

Virtual Portal

Demo file: virtual-portal.zip This is a follow-up to last month’s article on virtual list, and this time we’re going to explore a way to use virtual list in a portal. Imagine you have built a system where a Company can be a parent of a Mill, Refinery, Estate, or another Company. Each of these entities… Continue reading Virtual Portal Afficher la totalité du billet

FileMaker Hacks

FileMaker Hacks

×
×
  • Create New...