Author name: Weihao Ding

variable scope

Variable Scope

Variable scope is a key concept in Claris FileMaker. This article will explain the differences between the three variable scopes and introduce some common use cases for each. Also, did you know FileMaker secretly introduced a fourth scope type with the introduction of the While () function? Once upon a time, when things were simpler, …

Variable Scope Read More »

Code Readability: Good Comments vs. Bad Comments

This article will show examples of good comments vs. bad comments, and how you can improve your code readability by following a few key principles. In our previous blog posts on code readability, we showed how to enhance code readability by using spacing and meaningful naming without adding comments. Some of you might be wondering, what’s wrong with comments? …

Code Readability: Good Comments vs. Bad Comments Read More »

card-windows

When Upgrading to FileMaker Server 19, Look Out for this Gotcha with Card Windows on WebDirect

Card windows weren’t supported on WebDirect until FMS 19 The card window was first introduced in FileMaker 16. Since then, many of us have incorporated it into our design. At the time, it was supported on FileMaker Pro (FMP) but not on WebDirect. If we try to open a card window on WebDirect with FileMaker …

When Upgrading to FileMaker Server 19, Look Out for this Gotcha with Card Windows on WebDirect Read More »

single-pass loop

Single-Pass Loop

This article explains the technique known as a single-pass loop, and why it is part of my script template. If you do a lot of error trapping or exception handling, this is a great technique to master. The single-pass loop technique is inspired by the Try-Catch statement found in many programming languages. In a Try-Catch …

Single-Pass Loop Read More »

naming conventions

The Impact of Naming Conventions on Code Readability

Naming Conventions in FileMaker Implementing reliable naming conventions in FileMaker has the potential to save developers both time and frustration. This is the second installation in our blog series on code readability.  According to Wikipedia, a naming convention is “a set of coding rules for choosing software identifiers (names of program elements) in source code and …

The Impact of Naming Conventions on Code Readability Read More »